diff options
author | ace20022 <ace20022@ymail.com> | 2013-09-26 13:25:47 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2013-09-26 13:30:27 +0200 |
commit | b98c41dc1fc2769d9ebc275ce2be0dc592a4a754 (patch) | |
tree | 753d6ba6e7c6266a55a9cef7a82ed49ae7aaaafa /lib/cximage-6.0 | |
parent | 5793e7b08f59692958a92be7592d033ab6248ac1 (diff) |
[cximage] Fix resource leak in dcraw.
Diffstat (limited to 'lib/cximage-6.0')
-rw-r--r-- | lib/cximage-6.0/raw/dcraw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cximage-6.0/raw/dcraw.c b/lib/cximage-6.0/raw/dcraw.c index 61707095c8..45cd7a96b4 100644 --- a/lib/cximage-6.0/raw/dcraw.c +++ b/lib/cximage-6.0/raw/dcraw.c @@ -3485,6 +3485,7 @@ void CLASS subtract (char *fname) BAYER(row,col) = MAX (BAYER(row,col) - ntohs(pixel[col]), 0); } free (pixel); + fclose(fp); black = 0; } |