leak fixed

This commit is contained in:
p.kosyh 2011-04-17 16:48:14 +00:00
parent 10c3cac54a
commit c8dcaa99f9

View file

@ -336,6 +336,7 @@ static int idfrw_close(struct SDL_RWops *context)
{
idfd_t *dir = (idfd_t *)context->hidden.unknown.data1;
dir->pos = 0;
SDL_FreeRW(context);
return 0; /* nothing todo */
}
#if 0