forgot to set me->icon_gfx to NULL after freeing
This commit is contained in:
parent
b94a4e28f9
commit
5a0cdbc09b
@ -334,6 +334,7 @@ void menuEntryParseIcon(menuEntry_s* me) {
|
|||||||
|
|
||||||
if(_jpegDecompressor = NULL) {
|
if(_jpegDecompressor = NULL) {
|
||||||
free(me->icon_gfx);
|
free(me->icon_gfx);
|
||||||
|
me->icon_gfx = NULL;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user