Skip to content
Snippets Groups Projects
Commit 6cfed436 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

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

parent 29eb84a9
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3520 passed
...@@ -3104,7 +3104,7 @@ paste_pixmap(char *str, size_t slen, char *fn, void *apcd) ...@@ -3104,7 +3104,7 @@ paste_pixmap(char *str, size_t slen, char *fn, void *apcd)
unsigned long bufnum = 0; unsigned long bufnum = 0;
unsigned long *val; unsigned long *val;
void *mask = NULL; void *mask = NULL;
struct ciolib_mask *ctmask; struct ciolib_mask *ctmask = NULL;
char *maskfn = NULL; char *maskfn = NULL;
char *p; char *p;
char *p2; char *p2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment