summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_dead_code.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-18 11:42:42 -0700
committerEric Anholt <[email protected]>2010-08-18 14:16:07 -0700
commit0b09e6410f1173c2f69b601e43c5b14d8ad97345 (patch)
tree6a7959e4768ed6ad91d464107e2d493914dd64ec /src/glsl/ir_dead_code.cpp
parentabc6d7e0b4b04c75129d24c3cb6f021b92cd46f6 (diff)
glsl2: Fix copy'n'paste hilarity leading to leaking in the refcount visitor.
Diffstat (limited to 'src/glsl/ir_dead_code.cpp')
-rw-r--r--src/glsl/ir_dead_code.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_dead_code.cpp b/src/glsl/ir_dead_code.cpp
index fce921262f4..7ff580d5380 100644
--- a/src/glsl/ir_dead_code.cpp
+++ b/src/glsl/ir_dead_code.cpp
@@ -101,7 +101,6 @@ do_dead_code(exec_list *instructions)
}
}
}
- talloc_free(v.mem_ctx);
return progress;
}