Code

lyrics: free lyrics_loader struct in lyrics_free()
authorMax Kellermann <max@duempel.org>
Fri, 12 Dec 2008 17:29:05 +0000 (18:29 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 12 Dec 2008 17:29:05 +0000 (18:29 +0100)
src/lyrics.c

index 8487f0d8542880da175dd6759cb891de6ba68070..f26de837286f59e5fdc8f79cbfc663a8acbac1df 100644 (file)
@@ -287,4 +287,6 @@ lyrics_free(struct lyrics_loader *loader)
 
        if (loader->data != NULL)
                g_string_free(loader->data, TRUE);
+
+       g_free(loader);
 }