im.pidgin.pidgin.2.2.2: 205d3bc3e99d5f2036d3eb97ae7194d62a9f9bf5

lschiere at pidgin.im lschiere at pidgin.im
Fri Oct 19 17:10:46 EDT 2007


-----------------------------------------------------------------
Revision: 205d3bc3e99d5f2036d3eb97ae7194d62a9f9bf5
Ancestor: cba59d872d88909b8c6e1ae0c4f3da7b40f7d5dd
Author: lschiere at pidgin.im
Date: 2007-10-19T17:41:48
Branch: im.pidgin.pidgin.2.2.2

Modified files:
        libpurple/plugins/log_reader.c

ChangeLog: 

applied changes from 8fcdd455fb269a1dbd35d2d2e02f8005b5c9d086
             through 77376fe079e753b612b3b8c901060e689f3dee11

-------------- next part --------------
============================================================
--- libpurple/plugins/log_reader.c	534e7453f5bc02fcbb0657e583bafb58597d38c7
+++ libpurple/plugins/log_reader.c	bb60965d92b317d2cb41e929c14b1da60b21b08e
@@ -2271,6 +2271,7 @@ init_plugin(PurplePlugin *plugin)
 			                   "Error reading talk.ini\n");
 			if (error)
 				g_error_free(error);
+			g_free(path);
 		} else {
 			char *line = contents;
 			while (*contents) {
@@ -2318,7 +2319,10 @@ init_plugin(PurplePlugin *plugin)
 	                        "default", "logs", NULL);
 #endif
 
+	/*XXX: Why do we even bother allocating it ? */
+	g_free(path);
 
+
 	/* Add QIP log directory preference. */
 	purple_prefs_add_none("/plugins/core/log_reader/qip");
 


More information about the Commits mailing list