Jelajahi Sumber

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

xchellx 11 bulan lalu
induk
melakukan
44092a1079
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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.contributors );
     STBIR__FREE_AND_CLEAR( info->alloced_mem );
-    STBIR_FREE( info );
+    STBIR_FREE( info, info->user_data );
   #endif
   }