Mesa (master): nv50: fix memory leak on nv50_pc free
Christoph Bumiller
chrisbmr at kemper.freedesktop.org
Tue Jan 12 08:43:38 PST 2010
Module: Mesa
Branch: master
Commit: c83093973e7e3ffb494a9d6ce265180664497437
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c83093973e7e3ffb494a9d6ce265180664497437
Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date: Tue Jan 12 17:38:52 2010 +0100
nv50: fix memory leak on nv50_pc free
---
src/gallium/drivers/nv50/nv50_program.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c
index e16fa47..069f815 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);
}
More information about the mesa-commit
mailing list