[rhmessaging-commits] rhmessaging commits: r1827 - store/trunk/cpp/lib.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Tue Apr 1 15:04:26 EDT 2008
Author: kpvdr
Date: 2008-04-01 15:04:26 -0400 (Tue, 01 Apr 2008)
New Revision: 1827
Modified:
store/trunk/cpp/lib/JournalImpl.cpp
Log:
Ummm, fixed a, er, memory leak, that went un-noticed from the tck fix.
Modified: store/trunk/cpp/lib/JournalImpl.cpp
===================================================================
--- store/trunk/cpp/lib/JournalImpl.cpp 2008-04-01 18:40:50 UTC (rev 1826)
+++ store/trunk/cpp/lib/JournalImpl.cpp 2008-04-01 19:04:26 UTC (rev 1827)
@@ -98,6 +98,11 @@
::free(_datap);
_datap = 0;
}
+ if (journalTimerPtr)
+ {
+ delete journalTimerPtr;
+ journalTimerPtr = 0;
+ }
::pthread_mutex_destroy(&_getf_mutex);
}
More information about the rhmessaging-commits
mailing list