Skip to content

Commit

Permalink
Stopped using SDL_OutOfMemory().
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 25, 2001
1 parent 17430bb commit 2f32365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra_rwops.c
Expand Up @@ -110,7 +110,7 @@ SDL_RWops *RWops_RWRefCounter_new(SDL_RWops *rw)
data = (RWRefCounterData *) malloc(sizeof (RWRefCounterData));
if (data == NULL)
{
SDL_OutOfMemory();
SDL_SetError("Out of memory.");
SDL_FreeRW(retval);
retval = NULL;
} /* if */
Expand Down

0 comments on commit 2f32365

Please sign in to comment.