Corrected an uninitialized memory bug
This commit is contained in:
parent
ceb8dd89a6
commit
79ecbf0c17
2 changed files with 15 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue