Fix double free in video test suite
This commit is contained in:
parent
7d048468d3
commit
c443135e94
1 changed files with 1 additions and 1 deletions
|
@ -1698,7 +1698,7 @@ video_getSetWindowData(void *arg)
|
|||
if (referenceUserdata != NULL) SDL_free(referenceUserdata);
|
||||
if (referenceUserdata2 != NULL) SDL_free(referenceUserdata2);
|
||||
if (userdata != NULL) SDL_free(userdata);
|
||||
if (userdata != NULL) SDL_free(userdata);
|
||||
if (userdata2 != NULL) SDL_free(userdata2);
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue