[Xfce4-commits] <ristretto:master> Fix segfault caused by uninitialized variable;
Stephan Arts
noreply at xfce.org
Mon Aug 22 23:30:01 CEST 2011
Updating branch refs/heads/master
to cd04169b6b8ccc09fbcc77d27af92733ba637e72 (commit)
from 086b33da479ac24fab7489961cd256ce34aba55a (commit)
commit cd04169b6b8ccc09fbcc77d27af92733ba637e72
Author: Stephan Arts <stephan at xfce.org>
Date: Mon Aug 22 18:49:06 2011 +0200
Fix segfault caused by uninitialized variable;
src/main_window.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main_window.c b/src/main_window.c
index b230d18..c754cfe 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -811,7 +811,9 @@ rstto_main_window_new (RsttoImageList *image_list, gboolean fullscreen)
static void
rstto_main_window_image_list_iter_changed (RsttoMainWindow *window)
{
- gchar *file_basename, *title, *status;
+ gchar *file_basename = NULL;
+ gchar *title = NULL;
+ gchar *status = NULL;
GFile *file = NULL;
GFileInfo *file_info = NULL;
RsttoImage *cur_image;
More information about the Xfce4-commits
mailing list