[tracker] tracker-extract,gif: Do not doubly close the FD
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract,gif: Do not doubly close the FD
- Date: Fri, 25 Nov 2011 14:34:01 +0000 (UTC)
commit 9e9596e7068470fb09577edf13fd9279d44c2d49
Author: Carlos Garnacho <carlos lanedo com>
Date: Fri Nov 25 15:31:14 2011 +0100
tracker-extract,gif: Do not doubly close the FD
DGifOpenFileHandle takes ownership on the FD, so don't try
to close it ourselves too.
src/tracker-extract/tracker-extract-gif.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index b97851d..94e5d3b 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -644,7 +644,5 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
PrintGifError ();
}
- close (fd);
-
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]