Mercurial > audlegacy
comparison libaudacious/rcfile.c @ 1327:5bd743a3417b trunk
[svn] fix for memory leak in bmp_rcfile_open()
author | yaz |
---|---|
date | Sat, 24 Jun 2006 02:57:45 -0700 |
parents | cb178e5ad177 |
children | f12d7e208b43 |
comparison
equal
deleted
inserted
replaced
1326:41b498d5ae4b | 1327:5bd743a3417b |
---|---|
102 gchar **frags; | 102 gchar **frags; |
103 frags = g_strsplit(lines[i], "=", 0); | 103 frags = g_strsplit(lines[i], "=", 0); |
104 if (strlen(frags[1]) > 0) { | 104 if (strlen(frags[1]) > 0) { |
105 bmp_rcfile_create_string(section, frags[0], frags[1]); | 105 bmp_rcfile_create_string(section, frags[0], frags[1]); |
106 }; | 106 }; |
107 g_strfreev(frags); | |
107 } | 108 } |
108 } | 109 } |
109 i++; | 110 i++; |
110 } | 111 } |
111 g_strfreev(lines); | 112 g_strfreev(lines); |