From 1eeffe8a0203d0af53345363b5cee13902aa9073 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 31 Aug 2008 15:52:03 +0000 Subject: [PATCH] Fix memory leak. 2008-08-31 Carlos Garcia Campos * cut-n-paste/smclient/eggsmclient-xsmp.c: (sm_client_xsmp_set_initial_properties): Fix memory leak. svn path=/trunk/; revision=3133 --- ChangeLog | 7 +++++++ cut-n-paste/smclient/eggsmclient-xsmp.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index f02cc459..42560df2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-08-31 Carlos Garcia Campos + + * cut-n-paste/smclient/eggsmclient-xsmp.c: + (sm_client_xsmp_set_initial_properties): + + Fix memory leak. + 2008-08-31 Carlos Garcia Campos * shell/ev-application.c: (ev_application_open_window), diff --git a/cut-n-paste/smclient/eggsmclient-xsmp.c b/cut-n-paste/smclient/eggsmclient-xsmp.c index 8e13ff4a..eebce07e 100644 --- a/cut-n-paste/smclient/eggsmclient-xsmp.c +++ b/cut-n-paste/smclient/eggsmclient-xsmp.c @@ -252,6 +252,7 @@ sm_client_xsmp_set_initial_properties (gpointer user_data) err->message); g_error_free (err); } + g_free (cmdline); } } -- 2.43.5