nv50: fix memory leak on nv50_pc free
PATCH 1/1 nv50: fix memory leak on nv50_pc free
From: Marcin Slusarz <[email protected]>
Subject: [mesa PATCH] nv50: fix memory leak on nv50_pc free
--- src/gallium/drivers/nv50/nv50_program.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
src/gallium/drivers/nv50/nv50_program.c +2 -0
@@ -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); }
Signature · 1 line
1.6.6.rc3