Skip to content
Snippets Groups Projects
Commit 15b8e832 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

imlib.c: Fix segfault introdused by talisein's patch.

parent 6c76206d
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,7 @@ char *feh_http_load_image(char *url)
return NULL;
}
sfn = estrjoin("_", tmpname, "XXXXXX");
sfn = estrjoin("_", tmpname, "XXXXXX", NULL);
free(tmpname);
fd = mkstemp(sfn);
if (fd != -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment