diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2010-01-12 17:38:52 +0100 |
---|---|---|
committer | Christoph Bumiller <e0425955@student.tuwien.ac.at> | 2010-01-12 17:38:52 +0100 |
commit | c83093973e7e3ffb494a9d6ce265180664497437 (patch) | |
tree | 169741d524fade280ef2275a4d26c9db1652b1f3 /src/gallium/drivers/nv50 | |
parent | 26c78a4968a3c10ca006699d240150e6aa4b4250 (diff) |
nv50: fix memory leak on nv50_pc free
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | 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 e16fa479e5..069f815938 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); } |