summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-05-02 14:48:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-05-02 14:48:39 +0200
commit1db314934f025b080908a0794c41d70a15120d67 (patch)
treef805f4fc9c9d94a7e1b5084dbb4e6891969372b7
parent715010427350902c845c88608bc118c6e5e37e44 (diff)
always initialize data_root and data_esetroot
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index eb33a0c..a11a50d 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -292,7 +292,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
Atom prop_root, prop_esetroot, type;
int format, i;
unsigned long length, after;
- unsigned char *data_root, *data_esetroot;
+ unsigned char *data_root = NULL, *data_esetroot = NULL;
Pixmap pmap_d1, pmap_d2;
gib_list *l;