diff --git a/src/screen_song.c b/src/screen_song.c
index 086768cec6b058f353604cf1b3df2bfd35156846..d7b6d2c51d5b4feb7e52be03d6d39f67bb838064 100644 (file)
--- a/src/screen_song.c
+++ b/src/screen_song.c
#include "i18n.h"
#include "screen.h"
#include "charset.h"
-#include "utils.h"
+#include "time_format.h"
#include "mpdclient.h"
#include <mpd/client.h>
char *p = g_strdup(value_iter);
unsigned width = utf8_cut_width(p, value_col);
- if (width == 0)
+ if (width == 0) {
/* not enough room for anything - bail out */
+ g_free(entry);
+ g_free(p);
break;
+ }
*entry_iter = 0;