From 44092a10791aec31d7c2880e879623a39094ce9d Mon Sep 17 00:00:00 2001 From: xchellx Date: Fri, 18 Oct 2024 01:22:02 -0400 Subject: [PATCH] Fix typo in fix (yes this does fix the ASAN error) --- stb_image_resize2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image_resize2.h b/stb_image_resize2.h index 3cabe2d..3f6e1ff 100644 --- a/stb_image_resize2.h +++ b/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 }