diff options
Diffstat (limited to '')
-rw-r--r-- | src/outputBuffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c index 8e2780eb2..de649e0c7 100644 --- a/src/outputBuffer.c +++ b/src/outputBuffer.c @@ -36,6 +36,12 @@ void initOutputBuffer(OutputBuffer * cb, unsigned int size) cb->currentChunk = -1; } +void output_buffer_free(OutputBuffer * cb) +{ + assert(cb->chunks != NULL); + free(cb->chunks); +} + void clearOutputBuffer(OutputBuffer * cb) { cb->end = cb->begin; |