Mercurial > audlegacy
changeset 4095:7e57ace6385a
Fix memory leak in open_ini_file() function. (Bugzilla #17)
author | Jussi Judin <jjudin+audacious@iki.fi> |
---|---|
date | Wed, 19 Dec 2007 00:42:50 -0600 |
parents | cc8e81a84fa6 |
children | e06261511a5d |
files | src/audacious/util.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/util.c Wed Dec 19 00:35:57 2007 -0600 +++ b/src/audacious/util.c Wed Dec 19 00:42:50 2007 -0600 @@ -482,7 +482,7 @@ if (buffer[off] == '\n') { g_string_free(key_name, TRUE); - g_string_free(value, FALSE); + g_string_free(value, TRUE); key_name = g_string_new(NULL); value = g_string_new(NULL); }