cpw.nader.asynclogging-3: 6b2a603f: Fixed a memory error with PidginLogViewe...

morshed.nader at gmail.com morshed.nader at gmail.com
Sun Jan 23 01:15:57 EST 2011


----------------------------------------------------------------------
Revision: 6b2a603fafaa73f86489bfb7962e7c54d736e2e0
Parent:   81059be9b99a1e22f4cdf2052c71d1c9f7f8f6a5
Author:   morshed.nader at gmail.com
Date:     01/05/11 13:14:45
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/6b2a603fafaa73f86489bfb7962e7c54d736e2e0

Changelog: 

Fixed a memory error with PidginLogViewer and system logs
Fixed a compiler error in gntlog.c

Changes against parent 81059be9b99a1e22f4cdf2052c71d1c9f7f8f6a5

  patched  finch/gntlog.c
  patched  pidgin/gtklog.c

-------------- next part --------------
============================================================
--- pidgin/gtklog.c	283066632654085232f2da886fd3b460880d7da4
+++ pidgin/gtklog.c	e135b48a6f32665b19139e931d693667597f7b9b
@@ -1360,7 +1360,8 @@ pidgin_syslog_show(void)
 		if (purple_find_prpl(purple_account_get_protocol_id(account)) == NULL)
 			continue;
 
-		pidgin_log_data->count = pidgin_log_data->total++;
+		pidgin_log_data->count++;
+		pidgin_log_data->total++;
 
 		purple_logs_get_system_logs_async(account, G_PRIORITY_DEFAULT,
 			cancel, pidgin_log_system_list_cb, pidgin_log_data);
============================================================
--- finch/gntlog.c	d33518933aeef2ee61258db82aff711ec0740347
+++ finch/gntlog.c	4083dcb1dff8535f8e2f764c90e71ccef41b6cf0
@@ -711,7 +711,7 @@ finch_log_sets_cb(GObject *object, GAsyn
 		g_hash_table_unref(table);
 	} else {
 		finch_log_data_free(finch_log_data);
-		g_hash_table_unref(sets);
+		g_hash_table_unref(table);
 	}
 
 	g_clear_error(&error);


More information about the Commits mailing list