From: Carlos Garcia Campos Date: Tue, 23 Jan 2007 19:36:23 +0000 (+0000) Subject: Fix memory leaks in ps backend. X-Git-Tag: EVINCE_0_7_2~75 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=5cd91dc31f4d18f7500147a73b9076270d19ffc0;p=evince.git Fix memory leaks in ps backend. 2007-01-23 Carlos Garcia Campos * backend/ps/ps-document.c: (start_interpreter): Fix memory leaks in ps backend. svn path=/trunk/; revision=2246 --- diff --git a/ChangeLog b/ChangeLog index af42d1b6..ee52180f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-23 Carlos Garcia Campos + + * backend/ps/ps-document.c: (start_interpreter): + + Fix memory leaks in ps backend. + 2007-01-21 Carlos Garcia Campos * backend/impress/impress-document.c: diff --git a/backend/ps/ps-document.c b/backend/ps/ps-document.c index ee5d4498..8e92099d 100644 --- a/backend/ps/ps-document.c +++ b/backend/ps/ps-document.c @@ -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; }