aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorn Baayen <jorn@openedhand.com>2008-07-03 12:58:58 +0000
committerJorn Baayen <jorn@openedhand.com>2008-07-03 12:58:58 +0000
commita0be2fe4b5f12b8b07f4e3bd624b3729657f0ac5 (patch)
treea87f64444214e691bea2216de6d085db43882648
parentc7c6c89e2711b8f608b5d68dd4955ef314aaea77 (diff)
downloadgaku-a0be2fe4b5f12b8b07f4e3bd624b3729657f0ac5.tar.gz
gaku-a0be2fe4b5f12b8b07f4e3bd624b3729657f0ac5.tar.bz2
gaku-a0be2fe4b5f12b8b07f4e3bd624b3729657f0ac5.zip
2008-07-03 Jorn Baayen <jorn@openedhand.com>HEADmaster
* main.c (tag_reader_uri_scanned_cb): Initialise title and artist variables to NULL. Reported by Tim Müller <tim.muller@collabora.co.uk>.
-rw-r--r--ChangeLog7
-rw-r--r--main.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e9e4737..5f846b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-03 Jorn Baayen <jorn@openedhand.com>
+
+ * main.c (tag_reader_uri_scanned_cb):
+
+ Initialise title and artist variables to NULL.
+ Reported by Tim Müller <tim.muller@collabora.co.uk>.
+
2008-06-30 Jorn Baayen <jorn@openedhand.com>
* Makefile.am:
diff --git a/main.c b/main.c
index 1ae8449..cfa6bf1 100644
--- a/main.c
+++ b/main.c
@@ -321,7 +321,7 @@ tag_reader_uri_scanned_cb (OwlTagReader *tag_reader,
{
GtkTreeModel *tree_model;
GtkTreeIter iter;
- char *title, *artist;
+ char *title = NULL, *artist = NULL;
if (error) {
g_warning (error->message);