From: Marcin Slusarz Date: Tue, 12 Jan 2010 16:38:52 +0000 (+0100) Subject: nv50: fix memory leak on nv50_pc free X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c83093973e7e3ffb494a9d6ce265180664497437;p=mesa.git nv50: fix memory leak on nv50_pc free --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index e16fa479e5f..069f8159381 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -3622,6 +3622,8 @@ free_nv50_pc(struct nv50_pc *pc) FREE(pc->attr); if (pc->temp) FREE(pc->temp); + if (pc->insn_pos) + FREE(pc->insn_pos); FREE(pc); }