Mercurial > pidgin.yaz
changeset 20319:615f6343035f
applied changes from 8fcdd455fb269a1dbd35d2d2e02f8005b5c9d086
through 77376fe079e753b612b3b8c901060e689f3dee11
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 19 Oct 2007 17:41:48 +0000 |
parents | bbfe52e817cf |
children | 6a128c9bd170 |
files | libpurple/plugins/log_reader.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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");