diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-01-27 07:28:53 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-01-27 07:28:53 +0000 |
commit | 55f5a20f1f0385175e5d6b82695b78fbd738a2b3 (patch) | |
tree | 5c69208d4de86a8be11e901f44b8052342527528 /pjlib | |
parent | 6aa10eba562b5a3ace76f7ec00bee782906c652c (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.cpp | 1 |
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; |