/soc/2013/ankitkv/gobjectification: e325d5320b27: Moved g_free t...

Ankit Vani a at nevitus.org
Sun Jul 14 05:46:15 EDT 2013


Changeset: e325d5320b27e787312fc9568d59e0f7860b6139
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-14 15:16 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/e325d5320b27

Description:

Moved g_free to the correct place

diffstat:

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

diffs (19 lines):

diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -4035,6 +4035,7 @@ static char *pidgin_get_tooltip_text(Pur
 		tmp = purple_notify_user_info_get_text_with_newline(user_info, "\n");
 		g_string_append(str, tmp);
 		g_free(tmp);
+		g_free(alias);
 
 		purple_notify_user_info_destroy(user_info);
 	} else if (PURPLE_IS_GROUP(node)) {
@@ -4068,7 +4069,6 @@ static char *pidgin_get_tooltip_text(Pur
 
 		purple_notify_user_info_destroy(user_info);
 	}
-	g_free(alias);
 
 	purple_signal_emit(pidgin_blist_get_handle(), "drawing-tooltip",
 	                   node, str, full);



More information about the Commits mailing list