From f030a600c5630b8f63f68ea819a5a4ad52133bcf Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 3 Oct 2009 17:37:04 +0000 Subject: [PATCH] fix two not freed search handles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9290 d7cf8633-e32d-0410-b094-e92efae38249 --- image.c | 1 + model_shared.c | 1 + 2 files changed, 2 insertions(+) diff --git a/image.c b/image.c index 538620fd..d5123408 100644 --- a/image.c +++ b/image.c @@ -1021,6 +1021,7 @@ void Image_FixTransparentPixels_f(void) Con_Printf("unchanged.\n"); Mem_Free(data); } + FS_FreeSearch(search); } qboolean Image_WriteTGABGR_preflipped (const char *filename, int width, int height, const unsigned char *data, unsigned char *buffer) diff --git a/model_shared.c b/model_shared.c index 8bc41927..bc6a98b5 100644 --- a/model_shared.c +++ b/model_shared.c @@ -1886,6 +1886,7 @@ void Mod_LoadQ3Shaders(void) } Mem_Free(f); } + FS_FreeSearch(search); } q3shaderinfo_t *Mod_LookupQ3Shader(const char *name) -- 2.39.2