From dc9ecc600aa766caa3e7d718b0b8656da4ba1f70 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 15:17:59 -0600 Subject: Guard against double-freeing of report objects --- src/report.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/report.h') 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 * _handler, + reporter(shared_ptr > _handler, report_t& _report, const string& _whence) : handler(_handler), report(_report), whence(_whence) {} -- cgit v1.2.3