diff options
-rw-r--r-- | src/account.h | 12 | ||||
-rwxr-xr-x | test/fullcheck.sh | 5 |
2 files changed, 15 insertions, 2 deletions
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() { diff --git a/test/fullcheck.sh b/test/fullcheck.sh index db63921d..fc89a13c 100755 --- a/test/fullcheck.sh +++ b/test/fullcheck.sh @@ -2,7 +2,10 @@ VALGRIND='' if [ -x /usr/bin/valgrind -o -x /opt/local/bin/valgrind ]; then - VALGRIND="valgrind -q" + VALGRIND="valgrind -q --track-origins=yes" + if [ `uname` = "Darwin" ]; then + VALGRIND="$VALGRIND --dsymutil=yes" + fi fi #export MallocGuardEdges=1 |