From: divverent Date: Sat, 3 Oct 2009 17:37:04 +0000 (+0000) Subject: fix two not freed search handles X-Git-Tag: xonotic-v0.1.0preview~1343 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f030a600c5630b8f63f68ea819a5a4ad52133bcf;p=xonotic%2Fdarkplaces.git fix two not freed search handles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9290 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)