From 391d5de79e765cc2970e148ddb82bcca33f5a10b Mon Sep 17 00:00:00 2001 From: Nicolas Bonifas Date: Sun, 6 Dec 2009 03:02:26 +0100 Subject: [PATCH] 2 open() statements were not matched with close() statements in function fetchFile --- WINGs/wcolorpanel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c index 8612e5e7..a9c4def0 100644 --- a/WINGs/wcolorpanel.c +++ b/WINGs/wcolorpanel.c @@ -3370,6 +3370,8 @@ static int fetchFile(char *toPath, char *srcFile, char *destFile) } } + close(src); + close(dest); return 0; }