[tracker/tracker-store] tracker-extract: Fix crash with 0-sized files
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-store] tracker-extract: Fix crash with 0-sized files
- Date: Tue, 23 Jun 2009 08:19:11 -0400 (EDT)
commit 6d2bed9b81ae537a9e22edd6473a069062eb907e
Author: Jürg Billeter <j bitron ch>
Date: Tue Jun 23 14:17:39 2009 +0200
tracker-extract: Fix crash with 0-sized files
src/tracker-extract/tracker-extract.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 1df1deb..39cb110 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -286,7 +286,7 @@ get_file_metadata (TrackerExtract *extract,
g_free (content_type);
statements_free (statements);
- return statements;
+ return NULL;
}
/* We know the mime */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]