[pkg-otr-team] [irssi-plugin-otr] 98/167: Fixed memory leak.

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.

commit f8b52cf01c282c7fc7eea69b7e5bc4d8422cbde9
Author: Rob Smits <rdfsmits at cs.uwaterloo.ca>
Date:   Thu Jun 7 02:09:17 2012 -0400

    Fixed memory leak.
---
 gtk-dialog.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gtk-dialog.c b/gtk-dialog.c
index f85500a..9d93775 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -2590,6 +2590,8 @@ static void otr_add_buddy_top_menus(PurpleConversation *conv) {
 	    }
 	}
 
+	g_free(username);
+
 	g_hash_table_insert(conv_to_context_map,
 		currentConv, (gpointer) contexts);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list