testcontroller: fixed memory leak
This commit is contained in:
1 parent
628d157676
commit
400489c157
1 file changed
+1
@@ -926,6 +926,7 @@ void DestroyGamepadImage(GamepadImage *ctx)
|
||||
SDL_DestroyTexture(ctx->touchpad_texture);
|
||||
SDL_DestroyTexture(ctx->button_texture);
|
||||
SDL_DestroyTexture(ctx->axis_texture);
|
||||
SDL_free(ctx->fingers);
|
||||
SDL_free(ctx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user