Fix pnetlibs_debug.c free() call - migrate to pmem_free()
This commit is contained in:
parent
7f24fabc54
commit
a0535bcadd
|
|
@ -1,4 +1,5 @@
|
|||
// debug/pnetlibs_debug.c - debug implementations for pnetlibs debug helpers
|
||||
#include "../pmem.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
@ -72,7 +73,7 @@ static void psync_apipool_dump_socket(psock_t *api) {
|
|||
}
|
||||
pdbg_logf(D_WARNING, "read result from released socket, dumping and aborting");
|
||||
print_tree(res, 0);
|
||||
free(res);
|
||||
pmem_free(PMEM_SUBSYS_API, res);
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue