Add patch to try and fix crashes with PA
authorJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 11:35:43 +0000 (13:35 +0200)
committerJulien Valroff <julien@kirya.net>
Sun, 23 May 2010 11:35:43 +0000 (13:35 +0200)
debian/patches/002_fix-parser-cleanup.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/002_fix-parser-cleanup.diff b/debian/patches/002_fix-parser-cleanup.diff
new file mode 100644 (file)
index 0000000..9d73fca
--- /dev/null
@@ -0,0 +1,68 @@
+Index: pino/src/rest_api_abstract.vala
+===================================================================
+--- pino.orig/src/rest_api_abstract.vala       2010-05-23 13:34:21.000000000 +0200
++++ pino/src/rest_api_abstract.vala    2010-05-23 13:34:25.000000000 +0200
+@@ -262,7 +262,6 @@
+               Parser.init();
+               bool result = parse_friendship(data, just_friend_check);
+-              Parser.cleanup();
+               return result;
+       }
+Index: pino/src/rest_api_acc.vala
+===================================================================
+--- pino.orig/src/rest_api_acc.vala    2010-05-23 13:35:09.000000000 +0200
++++ pino/src/rest_api_acc.vala 2010-05-23 13:35:11.000000000 +0200
+@@ -45,7 +45,6 @@
+               Parser.init();
+               var result = parse_userpic_url(data);
+-              Parser.cleanup();
+               return result;
+       }
+Index: pino/src/rest_api_direct.vala
+===================================================================
+--- pino.orig/src/rest_api_direct.vala 2010-05-23 13:34:46.000000000 +0200
++++ pino/src/rest_api_direct.vala      2010-05-23 13:34:49.000000000 +0200
+@@ -59,7 +59,6 @@
+               Parser.init();
+               var result = parse_direct(data);
+-              Parser.cleanup();
+               return result;
+       }
+Index: pino/src/rest_api_re.vala
+===================================================================
+--- pino.orig/src/rest_api_re.vala     2010-05-23 13:34:58.000000000 +0200
++++ pino/src/rest_api_re.vala  2010-05-23 13:35:00.000000000 +0200
+@@ -76,7 +76,6 @@
+               Parser.init();
+               var result = parse_status(data);
+-              Parser.cleanup();
+               return result;
+       }
+Index: pino/src/rest_api_timeline.vala
+===================================================================
+--- pino.orig/src/rest_api_timeline.vala       2010-05-23 13:34:33.000000000 +0200
++++ pino/src/rest_api_timeline.vala    2010-05-23 13:34:37.000000000 +0200
+@@ -92,7 +92,6 @@
+               Parser.init();
+               ArrayList<Status> result = parse_timeline(data, fstatus);
+-              Parser.cleanup();
+               return result;
+       }
+       
+@@ -286,7 +285,6 @@
+               
+               Parser.init();
+               Status status = parse_status(data);
+-              Parser.cleanup();
+               
+               return status;
+       }
index 5f5651d..db723ef 100644 (file)
@@ -1 +1,2 @@
 001_sec-accounts-file.diff
+002_fix-parser-cleanup.diff