changeset 10542:def1c69ae8af

[gaim-migrate @ 11907] sf patch #1103640, from Andrew Hart This should fix a memleak that probably never happens. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 25 Jan 2005 00:59:56 +0000
parents 5364929fad9b
children 052ef28a0695
files src/signals.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/signals.c	Tue Jan 25 00:33:13 2005 +0000
+++ b/src/signals.c	Tue Jan 25 00:59:56 2005 +0000
@@ -104,7 +104,8 @@
 		g_free(signal_data->values);
 	}
 
-	g_free(signal_data->ret_value);
+	if (signal_data->ret_value != NULL)
+		gaim_value_destroy(signal_data->ret_value);
 	g_free(signal_data);
 }