diff src/view_dir_list.c @ 2884:f9a21c9891a0

Fix #658: Bug fix: reads of uninitialized data https://github.com/BestImageViewer/geeqie/pull/658
author Rinat Ibragimov <ibragimovrinat@mail.ru>
date Mon, 21 Jan 2019 11:54:49 +0000
parents 009f0a811472
children
line wrap: on
line diff
--- a/src/view_dir_list.c	Sun Jan 06 17:40:31 2019 +0000
+++ b/src/view_dir_list.c	Mon Jan 21 11:54:49 2019 +0000
@@ -149,7 +149,7 @@
 	FileData *fd;
 	SortType sort_type = SORT_NAME;
 	gboolean sort_ascend = TRUE;
-	gchar *link;
+	gchar *link = NULL;
 
 	old_list = VDLIST(vd)->list;