Follow lttng-tools rules.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#include "rculfhash-internal.h"
#include "urcu-flavor.h"
+#include <common/common.h>
+
/*
* We need to lock pthread exit, which deadlocks __nptl_setxid in the runas
* clone. This work-around will be allowed to be removed when runas.c gets
uatomic_dec(&ht->in_progress_resize);
return;
}
- work = malloc(sizeof(*work));
+ work = zmalloc(sizeof(*work));
if (work == NULL) {
dbg_printf("error allocating resize work, bailing out\n");
uatomic_dec(&ht->in_progress_resize);