summaryrefslogtreecommitdiff
path: root/src/pdarun.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-04 13:30:12 +0700
committerAdrian Thurston <thurston@colm.net>2018-07-04 13:30:44 +0700
commit4f66f3a967c2d7c7f27d95ec52725e8b9d5bf27c (patch)
treed4f9de80c5ff785e7f20bd0eb14f36b34bdda56b /src/pdarun.c
parent319667ec011c3335ae7f81d8b9185d1e8ff3a1b6 (diff)
downloadcolm-4f66f3a967c2d7c7f27d95ec52725e8b9d5bf27c.tar.gz
don't downref trees after undo prepend
Diffstat (limited to 'src/pdarun.c')
-rw-r--r--src/pdarun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdarun.c b/src/pdarun.c
index a1be290b..6b8057f8 100644
--- a/src/pdarun.c
+++ b/src/pdarun.c
@@ -161,7 +161,7 @@ void colm_undo_stream_push( program_t *prg, tree_t **sp, struct stream_impl *is,
{
if ( length < 0 ) {
tree_t *tree = is->funcs->undo_prepend_tree( prg, is );
- colm_tree_downref( prg, sp, tree );
+ // colm_tree_downref( prg, sp, tree );
}
else {
is->funcs->undo_prepend_data( prg, is, length );