FS-9775: Fixed building libblade with address sanitizing support

This commit is contained in:
Shane Bryldt authored and Mike Jerris committed 2017-01-25 14:59:38 -06:00
1 parent aaa13f3ba6
commit 42bfcc3d46
3 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ KS_DECLARE(ks_status_t) blade_peer_destroy(blade_peer_t **bpP)
flags = bp->flags;
pool = bp->pool;
ks_pool_free(bp->pool, bp);
ks_pool_free(bp->pool, &bp);
if (pool && (flags & BP_MYPOOL)) {
ks_pool_close(&pool);