From b4d78b0d3dc3f0831f5c3ee670f89983f4e1592b Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 28 Sep 2016 17:01:38 -0400 Subject: [PATCH] core/playlists/library: Free scan path when we're done with it Signed-off-by: Anna Schumaker --- core/playlists/library.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/playlists/library.c b/core/playlists/library.c index b48dfe41..6a19784d 100644 --- a/core/playlists/library.c +++ b/core/playlists/library.c @@ -110,6 +110,8 @@ static void __lib_pl_read_path(struct scan_data *scan, const gchar *name) pl_artist_new_track(track); } } + + g_free(path); } static bool __lib_pl_scan_dir(void *data)