aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/BufferInputSource.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/BufferInputSource.hh')
-rw-r--r--include/qpdf/BufferInputSource.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qpdf/BufferInputSource.hh b/include/qpdf/BufferInputSource.hh
index 783c436e..954ffe36 100644
--- a/include/qpdf/BufferInputSource.hh
+++ b/include/qpdf/BufferInputSource.hh
@@ -28,6 +28,8 @@
class BufferInputSource: public InputSource
{
public:
+ // If own_memory is true, BufferInputSource will delete the buffer
+ // when finished with it. Otherwise, the caller owns the memory.
QPDF_DLL
BufferInputSource(std::string const& description, Buffer* buf,
bool own_memory = false);