leak fixed
This commit is contained in:
parent
10c3cac54a
commit
c8dcaa99f9
|
@ -336,6 +336,7 @@ static int idfrw_close(struct SDL_RWops *context)
|
||||||
{
|
{
|
||||||
idfd_t *dir = (idfd_t *)context->hidden.unknown.data1;
|
idfd_t *dir = (idfd_t *)context->hidden.unknown.data1;
|
||||||
dir->pos = 0;
|
dir->pos = 0;
|
||||||
|
SDL_FreeRW(context);
|
||||||
return 0; /* nothing todo */
|
return 0; /* nothing todo */
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
|
|
Loading…
Reference in a new issue