Fixed bug in static buffer based pool: thread local strorage leakage

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@768 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2006-10-13 17:30:46 +00:00
parent 0f3173d40a
commit 42e9e5ff1e
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ PJ_DEF(pj_pool_t*) pj_pool_create_on_buf(const char *name,
if (!is_initialized) {
if (initialize() != PJ_SUCCESS)
return NULL;
is_initialized = 1;
}
param.stack_buf = buf;