cpw.nader.asynclogging-3: f5192c5e: Removed two unneeded g_object_unref call...

morshed.nader at gmail.com morshed.nader at gmail.com
Thu Jan 5 15:27:29 EST 2012


----------------------------------------------------------------------
Revision: f5192c5eab3a4243eadda2aa4199a6c03dc199cc
Parent:   707a4975a14984ae2de9ed5c0167adb94a2b893d
Author:   morshed.nader at gmail.com
Date:     01/05/12 15:19:08
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/f5192c5eab3a4243eadda2aa4199a6c03dc199cc

Changelog: 

Removed two unneeded g_object_unref calls

Changes against parent 707a4975a14984ae2de9ed5c0167adb94a2b893d

  patched  libpurple/log.c

-------------- next part --------------
============================================================
--- libpurple/log.c	af903bd8912e9b48f73a8c55b3e92fc0131730ee
+++ libpurple/log.c	d7b16239033ce8ab3b3fe852465f37c2783705c9
@@ -795,13 +795,11 @@ purple_logs_list_logs(PurpleLogChatType 
 		if (list == NULL && err != NULL) {
 			g_propagate_error(error, err);
 			purple_log_list_free(logs);
-			g_object_unref(log);
 
 			return NULL;
 		}
 
 		logs = g_list_concat(list, logs);
-		g_object_unref(log);
 	}
 
 	return g_list_sort(logs, purple_log_compare);


More information about the Commits mailing list