# HG changeset patch # User Jussi Judin # Date 1198046570 21600 # Node ID 7e57ace6385a3a74b88888de1f186f9647b02df3 # Parent cc8e81a84fa6eaeec0d8b59af8c6dac4d804310e Fix memory leak in open_ini_file() function. (Bugzilla #17) diff -r cc8e81a84fa6 -r 7e57ace6385a src/audacious/util.c --- 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); }