Skip to content
Permalink
Browse files

Fixed compiler warning

  • Loading branch information
slouken committed Oct 12, 2017
1 parent ba10d2b commit 21cd2df694936a2341d0611d58d4b8cee08c61ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/stdlib/SDL_malloc.c
@@ -5370,7 +5370,7 @@ void SDL_free(void *ptr)
}

s_mem.free_func(ptr);
SDL_AtomicDecRef(&s_mem.num_allocations);
(void)SDL_AtomicDecRef(&s_mem.num_allocations);
}

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 21cd2df

Please sign in to comment.