mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-27 03:56:06 +00:00
Fix 'dereference after null check'
This commit is contained in:
parent
d8b3597455
commit
7b04375c9b
@ -564,7 +564,8 @@ clean:
|
||||
free(buff);
|
||||
if (cur.is_valid)
|
||||
libretrodb_cursor_close(&cur);
|
||||
bintree_free(tree);
|
||||
if (tree)
|
||||
bintree_free(tree);
|
||||
free(tree);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user