[totem] Bug 623497 — TotemVideoList crashes in row_activated_cb



commit 4679624c01ffbedf2feefa0175fbe6627f672552
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Jul 6 09:36:42 2010 +0100

    Bug 623497 â?? TotemVideoList crashes in row_activated_cb
    
    Ensure we don't use uninitialised memory. Closes: bgo#623497

 src/totem-video-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-video-list.c b/src/totem-video-list.c
index 4f538e5..f7f42cd 100644
--- a/src/totem-video-list.c
+++ b/src/totem-video-list.c
@@ -330,7 +330,7 @@ static void
 row_activated_cb (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
 {
 	GtkTreeIter iter;
-	gchar *mrl, *display_name;
+	gchar *mrl, *display_name = NULL;
 	gboolean play_video = TRUE;
 	TotemVideoList *self = TOTEM_VIDEO_LIST (tree_view);
 	GtkTreeModel *model = gtk_tree_view_get_model (tree_view);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]