Commit 6cfed436 authored by Deucе's avatar Deucе 👌🏾
Browse files

Initialize pointer to NULL to avoid free()ing unallocated memory.

parent 29eb84a9
Pipeline #3520 passed with stage
in 5 minutes and 24 seconds
......@@ -3104,7 +3104,7 @@ paste_pixmap(char *str, size_t slen, char *fn, void *apcd)
unsigned long bufnum = 0;
unsigned long *val;
void *mask = NULL;
struct ciolib_mask *ctmask;
struct ciolib_mask *ctmask = NULL;
char *maskfn = NULL;
char *p;
char *p2;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment