/soc/2013/ankitkv/gobjectification: e5e8269ca14a: forgot to allo...

Ankit Vani a at nevitus.org
Wed Sep 25 10:28:18 EDT 2013


Changeset: e5e8269ca14a3e12b5d5d17465ad841d45f9db6a
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-25 19:57 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/e5e8269ca14a

Description:

forgot to allocate menu

diffstat:

 pidgin/gtkconv.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -9961,6 +9961,7 @@ pidgin_conv_window_new()
 	GdkModifierType state;
 
 	win = g_malloc0(sizeof(PidginWindow));
+	win->menu = g_malloc0(sizeof(PidginWindowMenu));
 
 	window_list = g_list_append(window_list, win);
 
@@ -10116,6 +10117,7 @@ pidgin_conv_window_destroy(PidginWindow 
 	purple_notify_close_with_handle(win);
 	purple_signals_disconnect_by_handle(win);
 
+	g_free(win->menu);
 	g_free(win);
 }
 



More information about the Commits mailing list