applied changes from 8fcdd455fb269a1dbd35d2d2e02f8005b5c9d086 release-2.2.2

Fri, 19 Oct 2007 17:41:48 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Fri, 19 Oct 2007 17:41:48 +0000
branch
release-2.2.2
changeset 20211
e896680c43d1
parent 20210
d3336754b1a9
child 20212
9bf576eeaac0

applied changes from 8fcdd455fb269a1dbd35d2d2e02f8005b5c9d086
through 77376fe079e753b612b3b8c901060e689f3dee11

libpurple/plugins/log_reader.c file | annotate | diff | comparison | revisions
--- a/libpurple/plugins/log_reader.c	Fri Oct 19 17:41:09 2007 +0000
+++ b/libpurple/plugins/log_reader.c	Fri Oct 19 17:41:48 2007 +0000
@@ -2271,6 +2271,7 @@
 			                   "Error reading talk.ini\n");
 			if (error)
 				g_error_free(error);
+			g_free(path);
 		} else {
 			char *line = contents;
 			while (*contents) {
@@ -2318,6 +2319,9 @@
 	                        "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");

mercurial