summaryrefslogtreecommitdiffstats
path: root/src/tape.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-21 08:19:19 +0100
committersijanec <anton@sijanec.eu>2021-01-21 08:19:19 +0100
commit8f877a7a8a2bb81caeed24256baea4b54032b750 (patch)
treeb8c08e77ff3d5cd14d9438a5b408c8e9c943aca8 /src/tape.c
parenttweaks (diff)
downloadbverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar.gz
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar.bz2
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar.lz
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar.xz
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.tar.zst
bverbose-8f877a7a8a2bb81caeed24256baea4b54032b750.zip
Diffstat (limited to 'src/tape.c')
-rw-r--r--src/tape.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tape.c b/src/tape.c
index 0af7e4c..ecb83c5 100644
--- a/src/tape.c
+++ b/src/tape.c
@@ -101,6 +101,9 @@ int bvr_inline_command_processor(FILE * page_source_file, FILE * output_file, ch
return FAILURE;
}
}
+ /* start collect garbage on success */
+ bvr_var_remove_orphans();
+ /* end collect garbage on success */
// copy_buffer[(ftell(page_source_file)% COPY_BUFFER_SIZE)] = fgetc(page_source_file); // remove closing command tag character
return what_to_return;
}