[tracker/cuesheets] tracker-extract-gstreamer: Avoid additional NULL check for cuesheet TOC
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/cuesheets] tracker-extract-gstreamer: Avoid additional NULL check for cuesheet TOC
- Date: Fri, 30 Sep 2011 14:33:34 +0000 (UTC)
commit c1d2f8edebafa87ba92a5e0f3ea530ec9d277f97
Author: Martyn Russell <martyn lanedo com>
Date: Fri Sep 30 15:32:17 2011 +0100
tracker-extract-gstreamer: Avoid additional NULL check for cuesheet TOC
src/tracker-extract/tracker-extract-gstreamer.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index e297415..f283509 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -1894,9 +1894,7 @@ tracker_extract_gstreamer (const gchar *uri,
gst_tag_list_free (extractor->tagcache);
- if (extractor->toc) {
- tracker_toc_free (extractor->toc);
- }
+ tracker_toc_free (extractor->toc);
g_slist_foreach (extractor->artist_list, (GFunc)g_free, NULL);
g_slist_free (extractor->artist_list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]