[tracker] tracker-extract: Plug FD leak in GIF extractor
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Plug FD leak in GIF extractor
- Date: Wed, 14 Dec 2016 19:43:37 +0000 (UTC)
commit c6c42533b913a531eab6e22f5dd30c3165c43ed6
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Dec 13 22:01:49 2016 +0100
tracker-extract: Plug FD leak in GIF extractor
src/tracker-extract/tracker-extract-gif.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index 731fbf6..73a2461 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -502,5 +502,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
g_object_unref (metadata);
}
+ close (fd);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]