From c0752c13acd37bd1fb918b8eefe5afd8f40edb95 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Sat, 7 Jan 2006 08:15:51 +0000 Subject: [PATCH] fix playlist fd leak --- src/mp3-scanner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index 644c00b3..5c03e489 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -418,6 +418,7 @@ int scan_static_playlist(char *path) { DPRINTF(E_LOG,L_SCAN,"Error adding m3u %s: %s\n",path,perr); free(perr); db_dispose_playlist(pm3u); + close(fd); return FALSE; } /* now get the *real* base_path */