Skip to content
Snippets Groups Projects
Commit 8f161801 authored by LJ Sonic's avatar LJ Sonic
Browse files

Fix free

parent 06d4d71b
No related branches found
No related tags found
No related merge requests found
......@@ -572,7 +572,7 @@ void Snake_Free(void **opaque)
{
if (*opaque)
{
free(opaque);
free(*opaque);
*opaque = NULL;
}
}
......
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