From e52f36dd83cc444a3b371c8c58507bef07a82361 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 22 Aug 2011 10:11:06 +0200 Subject: [PATCH] screen_lyrics: prevent a double free/use after free And a memory leak. --- src/screen_lyrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 0819f91..a71b932 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -77,7 +77,7 @@ screen_lyrics_abort(void) if (current.title != NULL) { g_free(current.title); - current.artist = NULL; + current.title = NULL; } if (current.song != NULL) { -- 2.30.2