Skip to content

Commit 1d1a984

Browse files
committed
Fixed a free() that should be a DirkSimple_free().
1 parent 6cab389 commit 1d1a984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dirksimple_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static int DirkSimple_rwops_seek(DirkSimple_Io *io, long absolute_offset)
100100
static void DirkSimple_rwops_close(DirkSimple_Io *io)
101101
{
102102
SDL_RWclose((SDL_RWops *) io->userdata);
103-
free(io);
103+
DirkSimple_free(io);
104104
}
105105

106106
DirkSimple_Io *DirkSimple_openfile_read(const char *path)

0 commit comments

Comments
 (0)