Hello,

I've attached a patch that resolves a resource leak in ./common/darktable.h

Best regards,
Moritz
From 5d0aa0d58ab4a23c6092c7e32d338ed1894b7901 Mon Sep 17 00:00:00 2001
From: Moritz Lipp <[email protected]>
Date: Sun, 18 Nov 2012 14:36:36 +0100
Subject: [PATCH] Resource leak in dt_get_num_atom_cores

---
 src/common/darktable.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/darktable.h b/src/common/darktable.h
index 69a3352..7f3f4ad 100644
--- a/src/common/darktable.h
+++ b/src/common/darktable.h
@@ -360,6 +360,7 @@ dt_get_num_atom_cores()
         }
       }
     }
+    fclose(f);
   }
   return count;
 #elif defined(__DragonFly__) || \
-- 
1.8.0

Attachment: pgpSUa3rAlioA.pgp
Description: PGP signature

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to