]> www.fi.muni.cz Git - evince.git/commitdiff
Fix memory leaks in ps backend.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 23 Jan 2007 19:36:23 +0000 (19:36 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Tue, 23 Jan 2007 19:36:23 +0000 (19:36 +0000)
2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
* backend/ps/ps-document.c: (start_interpreter):
Fix memory leaks in ps backend.

svn path=/trunk/; revision=2246

ChangeLog
backend/ps/ps-document.c

index af42d1b6bc1943dcd43686efe478422e38843ff3..ee52180f31d7cd9a53ac9594d4856859ccc1c461 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * backend/ps/ps-document.c: (start_interpreter):
+
+       Fix memory leaks in ps backend. 
+
 2007-01-21  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * backend/impress/impress-document.c:
index ee5d449824e04d15cf37ad13d1ef22f04a3b35e2..8e92099decd7c8af481984fa93268d527ab99c0e 100644 (file)
@@ -731,6 +731,10 @@ start_interpreter (PSDocument *gs)
                                gdk_input_add (std_out[0], GDK_INPUT_READ, output, gs);
                        gs->interpreter_error_id =
                                gdk_input_add (std_err[0], GDK_INPUT_READ, output, gs);
+
+                       g_free (gv_env);
+                       g_free (gs_args);
+                       g_free (alpha_args);
                        break;
        }