[tracker] Memory leak fix, probably caused by merging



commit 4f5044be6197a0835b3d2fdd6ce95c6c4a558084
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Apr 29 17:26:09 2009 +0200

    Memory leak fix, probably caused by merging
---
 src/tracker-extract/tracker-extract-jpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index 28bb764..f205d2f 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -532,6 +532,7 @@ extract_jpeg (const gchar *uri,
 						   NFO_PREFIX "height",
 						    cinfo.image_height);
 
+		jpeg_destroy_decompress (&cinfo);
 fail:
 		tracker_file_close (f, FALSE);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]