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:
parent
0f3173d40a
commit
42e9e5ff1e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue