[tracker/rss-enclosures] tracker-writeback: Fix memory leak in XMP writeback module
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-writeback: Fix memory leak in XMP writeback module
- Date: Wed, 24 Nov 2010 01:34:55 +0000 (UTC)
commit f4ddbe254a1bcf2e409995899159e5d32c3b0552
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Aug 23 18:02:08 2010 +0200
tracker-writeback: Fix memory leak in XMP writeback module
src/tracker-writeback/tracker-writeback-xmp.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-xmp.c b/src/tracker-writeback/tracker-writeback-xmp.c
index 0b87291..a4ab962 100644
--- a/src/tracker-writeback/tracker-writeback-xmp.c
+++ b/src/tracker-writeback/tracker-writeback-xmp.c
@@ -170,6 +170,7 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
0);
}
}
+ g_object_unref (cursor);
g_clear_error (&error);
}
@@ -190,6 +191,7 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
xmp_set_property (xmp, NS_DC, "contributor", tracker_sparql_cursor_get_string (cursor, 0, NULL), 0);
}
}
+ g_object_unref (cursor);
g_clear_error (&error);
}
@@ -237,6 +239,7 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
}
}
}
+ g_object_unref (cursor);
g_clear_error (&error);
}
@@ -446,6 +449,7 @@ writeback_xmp_update_file_metadata (TrackerWritebackFile *wbf,
}
}
+ g_object_unref (cursor);
g_clear_error (&error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]