you are not paying attention :)

>From a522299ba882afb89143e4343429dca7b818836a Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <i...@extreme.hu>
Date: Thu, 8 Apr 2010 21:50:04 +0200
Subject: [PATCH] Plug leak

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

diff --git a/WINGs/proplist.c b/WINGs/proplist.c
index 476fa65..860875a 100644
--- a/WINGs/proplist.c
+++ b/WINGs/proplist.c
@@ -1746,4 +1746,6 @@ int wrmdirhier(const char *path)
 
        }
 
+       fts_close(fts);
+
 }
-- 
1.7.0


-- 
[-]

mkdir /nonexistent
From a522299ba882afb89143e4343429dca7b818836a Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <i...@extreme.hu>
Date: Thu, 8 Apr 2010 21:50:04 +0200
Subject: [PATCH] Plug leak

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

diff --git a/WINGs/proplist.c b/WINGs/proplist.c
index 476fa65..860875a 100644
--- a/WINGs/proplist.c
+++ b/WINGs/proplist.c
@@ -1746,4 +1746,6 @@ int wrmdirhier(const char *path)
 
 	}
 
+	fts_close(fts);
+
 }
-- 
1.7.0

Reply via email to