[tracker/avoid-album-art-duplicates] tracker-extract: Remove temp file in case of convert + symlink
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/avoid-album-art-duplicates] tracker-extract: Remove temp file in case of convert + symlink
- Date: Wed, 17 Aug 2011 16:41:53 +0000 (UTC)
commit 03a9bedb2bc9d46f2e0d2378dea7b78a4c4ff4ae
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Aug 17 18:41:31 2011 +0200
tracker-extract: Remove temp file in case of convert + symlink
src/tracker-extract/tracker-albumart.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-albumart.c b/src/tracker-extract/tracker-albumart.c
index 5b242b3..d21854f 100644
--- a/src/tracker-extract/tracker-albumart.c
+++ b/src/tracker-extract/tracker-albumart.c
@@ -121,6 +121,8 @@ convert_from_other_format (const gchar *found,
} else {
retval = TRUE;
}
+
+ g_unlink (target_temp);
} else {
/* If album-space-md5.jpg isn't the same as found,
* make a new album-md5-md5.jpg (found -> target) */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]