testautomation_hints.c: free hint memory
parent
2c3717881f
commit
0f24956b0a
|
@ -214,6 +214,7 @@ static int hints_setHint(void *arg)
|
||||||
callbackValue && SDL_strcmp(callbackValue, "original") == 0,
|
callbackValue && SDL_strcmp(callbackValue, "original") == 0,
|
||||||
"callbackValue = %s, expected \"original\"",
|
"callbackValue = %s, expected \"original\"",
|
||||||
callbackValue);
|
callbackValue);
|
||||||
|
SDL_free(callbackValue);
|
||||||
|
|
||||||
SDLTest_AssertPass("Call to SDL_SetHintWithPriority(\"temp\", SDL_HINT_OVERRIDE), using callback after reset");
|
SDLTest_AssertPass("Call to SDL_SetHintWithPriority(\"temp\", SDL_HINT_OVERRIDE), using callback after reset");
|
||||||
callbackValue = NULL;
|
callbackValue = NULL;
|
||||||
|
|
Loading…
Reference in New Issue