summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-01-27 07:28:53 +0000
committerBenny Prijono <bennylp@teluu.com>2010-01-27 07:28:53 +0000
commit55f5a20f1f0385175e5d6b82695b78fbd738a2b3 (patch)
tree5c69208d4de86a8be11e901f44b8052342527528 /pjlib
parent6aa10eba562b5a3ace76f7ec00bee782906c652c (diff)
Fixed ticket #1035: Crash in timer heap cleanup sequence on Symbian if the pool for the timer entry is released beforehand (thanks Tamàs Solymosi for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3076 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/src/pj/timer_symbian.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pjlib/src/pj/timer_symbian.cpp b/pjlib/src/pj/timer_symbian.cpp
index 8f268804..742b9e5d 100644
--- a/pjlib/src/pj/timer_symbian.cpp
+++ b/pjlib/src/pj/timer_symbian.cpp
@@ -318,6 +318,7 @@ PJ_DEF(void) pj_timer_heap_destroy( pj_timer_heap_t *ht )
unsigned i;
for (i=0; i<ht->max_size; ++i) {
if (ht->entries[i]) {
+ ht->entries[i]->entry_ = NULL;
ht->entries[i]->Cancel();
delete ht->entries[i];
ht->entries[i] = NULL;