Browse Source

fix compile

Sean Barrett 11 years ago
parent
commit
4e580cf9ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/resample_test.cpp

+ 1 - 1
tests/resample_test.cpp

@@ -45,7 +45,7 @@ void* stbir_malloc(void* context, size_t size)
 void stbir_free(void* context, void* memory)
 void stbir_free(void* context, void* memory)
 {
 {
 	if (!context)
 	if (!context)
-		return free(memory);
+		free(memory);
 }
 }
 
 
 void stbir_progress(float p)
 void stbir_progress(float p)