# HG changeset patch # User Tomasz Mon # Date 1204967873 -3600 # Node ID 1286f65395d718203b4b8205d40a633a12c123d5 # Parent 166397a7efe1f69540216529ee04c7a527f20b67 string arrays should be freed with g_strfreev() diff -r 166397a7efe1 -r 1286f65395d7 src/scrobbler/scrobbler.c --- a/src/scrobbler/scrobbler.c Sat Mar 08 09:57:38 2008 +0100 +++ b/src/scrobbler/scrobbler.c Sat Mar 08 10:17:53 2008 +0100 @@ -947,11 +947,11 @@ free(artist); free(title); free(album); - g_free(entry); i++; } + g_strfreev(entry); } - g_free(values); + g_strfreev(values); g_free(cache); pdebug("Done loading cache.", DEBUG); }