Explorar o código

Fix typo in fix (yes this does fix the ASAN error)

xchellx hai 11 meses
pai
achega
44092a1079
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stb_image_resize2.h

+ 1 - 1
stb_image_resize2.h

@@ -6731,7 +6731,7 @@ static void stbir__free_internal_mem( stbir__info *info )
     STBIR__FREE_AND_CLEAR( info->horizontal.coefficients );
     STBIR__FREE_AND_CLEAR( info->horizontal.coefficients );
     STBIR__FREE_AND_CLEAR( info->horizontal.contributors );
     STBIR__FREE_AND_CLEAR( info->horizontal.contributors );
     STBIR__FREE_AND_CLEAR( info->alloced_mem );
     STBIR__FREE_AND_CLEAR( info->alloced_mem );
-    STBIR_FREE( info );
+    STBIR_FREE( info, info->user_data );
   #endif
   #endif
   }
   }