summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-03-03 02:41:27 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-03-03 02:41:27 +0000
commitaa1b2aeb3da5323717ae13c281f214bca8a511ce (patch)
treecf0185cd8a4fa74541605e14b5ad67856440b98c /pjnath
parent29f035e34a157bbc553f236430586ea0eca64766 (diff)
Fixed #1818: Fixed destruction of locked mutex (thanks to Denis Poltorak for the Helgrind report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4987 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath')
-rw-r--r--pjnath/src/pjturn-srv/allocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjturn-srv/allocation.c b/pjnath/src/pjturn-srv/allocation.c
index 5310ea5f..6c9c9ce1 100644
--- a/pjnath/src/pjturn-srv/allocation.c
+++ b/pjnath/src/pjturn-srv/allocation.c
@@ -1282,7 +1282,7 @@ static pj_status_t stun_on_rx_request(pj_stun_session *sess,
p2->channel = PJ_STUN_GET_CH_NB(ch_attr->value);
/* Register to hash table */
- pj_assert(sizeof(p2->channel==2));
+ pj_assert(sizeof(p2->channel)==2);
pj_hash_set(alloc->pool, alloc->ch_table, &p2->channel,
sizeof(p2->channel), 0, p2);