diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-05 15:17:59 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-05 15:17:59 -0600 |
commit | dc9ecc600aa766caa3e7d718b0b8656da4ba1f70 (patch) | |
tree | 0ecf13a72974e8647aa13a9d022da52183cd1a3f /src/report.h | |
parent | b3e21e8ae240cb2a44a56b174b12d50740264fcc (diff) | |
download | fork-ledger-dc9ecc600aa766caa3e7d718b0b8656da4ba1f70.tar.gz fork-ledger-dc9ecc600aa766caa3e7d718b0b8656da4ba1f70.tar.bz2 fork-ledger-dc9ecc600aa766caa3e7d718b0b8656da4ba1f70.zip |
Guard against double-freeing of report objects
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.h b/src/report.h index 35d45437..03eee78b 100644 --- a/src/report.h +++ b/src/report.h @@ -1019,7 +1019,7 @@ class reporter string whence; public: - reporter(item_handler<Type> * _handler, + reporter(shared_ptr<item_handler<Type> > _handler, report_t& _report, const string& _whence) : handler(_handler), report(_report), whence(_whence) {} |