From: Dave Airlie Date: Thu, 22 Jan 2009 11:29:22 +0000 (+1000) Subject: radeon: free indices caught with valgrind X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb7756eaed7b6c51a2da2ed9905b79172be91881;p=mesa.git radeon: free indices caught with valgrind --- diff --git a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c index 3a3a245d798..0d0ea364028 100644 --- a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c +++ b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c @@ -337,6 +337,7 @@ static int cs_emit(struct radeon_cs *cs) static int cs_destroy(struct radeon_cs *cs) { + free(cs->relocs->indices); free(cs->relocs); free(cs->packets); free(cs);