Commit 7ae293d5 authored by devsaurus's avatar devsaurus
Browse files

set free'd pointer to NULL

parent 2cfb86b5
......@@ -1002,7 +1002,10 @@ static int lu8g_close_display( lua_State *L )
// free up allocated page buffer
if (lud->pb.buf != NULL)
{
c_free( lud->pb.buf );
lud->pb.buf = NULL;
}
return 0;
}
......
Markdown is supported
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