[tracker] extract/gupnp: Fix warning if no GST tags were found at all
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] extract/gupnp: Fix warning if no GST tags were found at all
- Date: Thu, 5 May 2011 14:51:35 +0000 (UTC)
commit 89344cfaa96380628c95c9074e84860a09adb491
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu May 5 16:48:50 2011 +0200
extract/gupnp: Fix warning if no GST tags were found at all
src/tracker-extract/tracker-extract-gupnp-dlna.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gupnp-dlna.c b/src/tracker-extract/tracker-extract-gupnp-dlna.c
index fc2f093..db8aef4 100644
--- a/src/tracker-extract/tracker-extract-gupnp-dlna.c
+++ b/src/tracker-extract/tracker-extract-gupnp-dlna.c
@@ -816,7 +816,9 @@ extract_gupnp_dlna (const gchar *uri,
extract_metadata (&extractor, uri, preupdate, metadata, &artist, &album, &scount);
- gst_tag_list_free (extractor.tags);
+ if (extractor.tags) {
+ gst_tag_list_free (extractor.tags);
+ }
gst_discoverer_stream_info_list_free (streams);
g_free (artist);
g_free (album);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]