pidgin: 8b2f9009: Fix a small leak.

qulogic at pidgin.im qulogic at pidgin.im
Fri Nov 18 14:55:48 EST 2011


----------------------------------------------------------------------
Revision: 8b2f900953cfdac6875cff0061850e767424470f
Parent:   a8ebf82197c7bdca43c95963c9474e7d2733472f
Author:   qulogic at pidgin.im
Date:     11/18/11 14:37:04
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8b2f900953cfdac6875cff0061850e767424470f

Changelog: 

Fix a small leak.

Changes against parent a8ebf82197c7bdca43c95963c9474e7d2733472f

  patched  pidgin/gtkconv-theme.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv-theme.c	4f20d357ec6d038598ef965935b3a11a44fb584a
+++ pidgin/gtkconv-theme.c	7edc929135fd2fb191b23e0d6219f168e4a67502
@@ -381,6 +381,7 @@ get_outgoing_next_context_html(PidginCon
 	if (!g_file_get_contents(file, &priv->outgoing_next_context_html, NULL, NULL)) {
 		priv->outgoing_next_context_html = g_strdup(get_outgoing_context_html(priv, dir));
 	}
+	g_free(file);
 
 	return priv->outgoing_next_context_html;
 }


More information about the Commits mailing list