Index: ext/libicpf/src/dmutex.cpp =================================================================== diff -u -r12de61bfcf4d1ffef0339bee2e4c4a152209fd30 -r2a38ed9af6573b03e881ecf726fab6a3746f8cfd --- ext/libicpf/src/dmutex.cpp (.../dmutex.cpp) (revision 12de61bfcf4d1ffef0339bee2e4c4a152209fd30) +++ ext/libicpf/src/dmutex.cpp (.../dmutex.cpp) (revision 2a38ed9af6573b03e881ecf726fab6a3746f8cfd) @@ -13,7 +13,8 @@ * \param[in] pctx - dump context that will receive notifications about lock/unlock */ d_mutex::d_mutex(dumpctx* pctx) - : mutex(pctx) + : mutex(pctx), + m_ulLockCount(0) { const char_t* psz="Unnamed"; m_pszName=new char_t[strlen(psz)+1]; @@ -31,7 +32,8 @@ * \param[in] pctx - dump context that will receive notifications about lock/unlock */ d_mutex::d_mutex(const char_t* pszStr, dumpctx* pctx) : - mutex(pszStr, pctx) + mutex(pszStr, pctx), + m_ulLockCount(0) { m_pszName=new char_t[strlen(pszStr)+1]; strcpy(m_pszName, pszStr);