2 open() statements were not matched with close() statements in function
 fetchFile

---
 WINGs/wcolorpanel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c
index 8612e5e..a9c4def 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;
 }

--
>From 288875f5d7acb884a809773116b9fa5a46c8e431 Mon Sep 17 00:00:00 2001
From: Nicolas Bonifas <[email protected]>
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 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c
index 8612e5e..a9c4def 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;
 }
 
-- 
1.6.5

Reply via email to