[tracker/tracker-0.10] tracker-extract: Fix memleak after own review, obvious one
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] tracker-extract: Fix memleak after own review, obvious one
- Date: Mon, 22 Aug 2011 13:45:21 +0000 (UTC)
commit 68d050cf1a786a2d1b38889c4387f62b85fb4be4
Author: Philip Van Hoof <philip codeminded be>
Date: Sun Aug 21 12:16:31 2011 +0200
tracker-extract: Fix memleak after own review, obvious one
src/tracker-extract/tracker-albumart.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart.c b/src/tracker-extract/tracker-albumart.c
index 70b2fdb..34ba65b 100644
--- a/src/tracker-extract/tracker-albumart.c
+++ b/src/tracker-extract/tracker-albumart.c
@@ -102,6 +102,7 @@ file_get_checksum_if_exists (GChecksumType checksum_type,
checksum = g_checksum_new (checksum_type);
if (!checksum) {
+ g_object_unref (file);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]