aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);