diff options
author | Jay Berkenbilt <ejb@ql.org> | 2010-06-06 15:32:08 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2010-06-06 15:32:08 +0200 |
commit | 9496b2cb20bfd0551e9510b6ccb41ca950d2c8ee (patch) | |
tree | d4dd988984a8730331087b8b7e7afc513aeb2164 /libqpdf/qpdf/QPDF_Dictionary.hh | |
parent | 64dc738859bac0dd71a3b0e61ba2d2c171d9eecd (diff) | |
download | qpdf-9496b2cb20bfd0551e9510b6ccb41ca950d2c8ee.tar.zst |
fix memory leak
git-svn-id: svn+q:///qpdf/trunk@976 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Dictionary.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh index a6b1e77b..e75de01b 100644 --- a/libqpdf/qpdf/QPDF_Dictionary.hh +++ b/libqpdf/qpdf/QPDF_Dictionary.hh @@ -27,6 +27,9 @@ class QPDF_Dictionary: public QPDFObject // Remove key, doing nothing if key does not exist void removeKey(std::string const& key); + protected: + virtual void releaseResolved(); + private: std::map<std::string, QPDFObjectHandle> items; }; |