From 79ecbf0c176215349efa458dadffa770c3decebc Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 19 Mar 2012 22:28:00 -0500 Subject: Corrected an uninitialized memory bug --- src/account.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/account.h') diff --git a/src/account.h b/src/account.h index fee12595..fd98a9ac 100644 --- a/src/account.h +++ b/src/account.h @@ -193,7 +193,17 @@ public: TRACE_CTOR(account_t::xdata_t::details_t, ""); } // A copy copies nothing - details_t(const details_t&) { + details_t(const details_t&) + : calculated(false), + gathered(false), + + posts_count(0), + posts_virtuals_count(0), + posts_cleared_count(0), + posts_last_7_count(0), + posts_last_30_count(0), + posts_this_month_count(0) + { TRACE_CTOR(account_t::xdata_t::details_t, "copy"); } ~details_t() throw() { -- cgit v1.2.3