mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-08 05:54:45 +00:00
FS-10167: Missing NULL assignment to alloc list during cleanup, tests run on linux.
This commit is contained in:
parent
ea0dc132a3
commit
819847b53a
@ -576,6 +576,7 @@ KS_DECLARE(ks_status_t) ks_pool_clear(ks_pool_t *pool)
|
|||||||
// @todo check_prefix()? still want to clear out properly if some has been cleared though, not leak memory if there has been corruption
|
// @todo check_prefix()? still want to clear out properly if some has been cleared though, not leak memory if there has been corruption
|
||||||
free(prefix);
|
free(prefix);
|
||||||
}
|
}
|
||||||
|
pool->first = pool->last = NULL;
|
||||||
|
|
||||||
ks_mutex_unlock(pool->mutex);
|
ks_mutex_unlock(pool->mutex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user