Mercurial > audlegacy
diff src/audacious/skin.c @ 4157:e474286a4c23
Close_ini_file() frees all memory allocated in open_ini_file() (Bugzilla #40)
author | Jussi Judin <jjudin+audacious@iki.fi> |
---|---|
date | Wed, 09 Jan 2008 09:44:01 -0600 |
parents | 0784aa980c42 |
children | 2281da647da9 |
line wrap: on
line diff
--- a/src/audacious/skin.c Wed Jan 09 09:37:35 2008 -0600 +++ b/src/audacious/skin.c Wed Jan 09 09:44:01 2008 -0600 @@ -1231,7 +1231,7 @@ if (inifile || default_hex) { if (inifile) { - value = g_strdup(read_ini_string(inifile, section, key)); + value = read_ini_string(inifile, section, key); if (value == NULL) { value = g_strdup(default_hex); }