FS-10167: Missing NULL assignment to alloc list during cleanup, tests run on linux.

This commit is contained in:
Shane Bryldt 2017-04-11 15:51:35 -05:00
parent ea0dc132a3
commit 819847b53a
1 changed files with 4 additions and 3 deletions

View File

@ -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
free(prefix);
}
pool->first = pool->last = NULL;
ks_mutex_unlock(pool->mutex);