From 703702e91df84ffb6b1c31989ffd5ac1865bd71c Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 20 Jul 2013 21:51:53 +0200 Subject: [PATCH] Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program. --- test/testshape.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/testshape.c b/test/testshape.c index ab2a9bbca..bd5d351f4 100644 --- a/test/testshape.c +++ b/test/testshape.c @@ -79,7 +79,7 @@ int main(int argc,char** argv) } num_pictures = argc - 1; - pictures = (LoadedPicture *)malloc(sizeof(LoadedPicture)*num_pictures); + pictures = (LoadedPicture *)SDL_malloc(sizeof(LoadedPicture)*num_pictures); for(i=0;i