From f1d35c7f3cd35f4aeb9309837d3049c06a604ed6 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 12 Apr 2005 03:51:42 +0000 Subject: [PATCH] fix fd leak in dynamic art --- src/dispatch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatch.c b/src/dispatch.c index d4cc8961..1961df83 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -692,6 +692,7 @@ void dispatch_stream(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) { ((img_fd=da_get_image_fd(pmp3->path)) != -1)) { fstat(img_fd, &sb); img_size = sb.st_size; + r_close(img_fd); if (strncasecmp(pmp3->type,"mp3",4) ==0) { /*PENDING*/