提交 819847b5 authored 作者: Shane Bryldt's avatar Shane Bryldt

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

上级 ea0dc132
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论