summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/pool.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-11-21 08:36:12 +0000
committerBenny Prijono <bennylp@teluu.com>2006-11-21 08:36:12 +0000
commita4369b0fa250d67075acfdd711599fa2c4620cc3 (patch)
tree1ad7c70525aa705439447958a1b67e39f61e84d4 /pjlib/include/pj/pool.h
parentea23ac0d1390d84af737f39696fc47e7d632249d (diff)
Fixed minor memory leak in caching pool (one malloc is not freed)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@809 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/pool.h')
-rw-r--r--pjlib/include/pj/pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/pool.h b/pjlib/include/pj/pool.h
index 61c3de09..55a19d03 100644
--- a/pjlib/include/pj/pool.h
+++ b/pjlib/include/pj/pool.h
@@ -795,12 +795,12 @@ struct pj_caching_pool
/**
* Internal pool.
*/
- pj_pool_t *pool;
+ char pool_buf[256];
/**
* Mutex.
*/
- pj_mutex_t *mutex;
+ pj_lock_t *lock;
};