summaryrefslogtreecommitdiff
path: root/src/common/procmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/procmon.h')
-rw-r--r--src/common/procmon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/procmon.h b/src/common/procmon.h
index 10ead11ba8..691a5a124b 100644
--- a/src/common/procmon.h
+++ b/src/common/procmon.h
@@ -27,7 +27,9 @@ tor_process_monitor_t *tor_process_monitor_new(struct event_base *base,
tor_procmon_callback_t cb,
void *cb_arg,
const char **msg);
-void tor_process_monitor_free(tor_process_monitor_t *procmon);
+void tor_process_monitor_free_(tor_process_monitor_t *procmon);
+#define tor_process_monitor_free(procmon) \
+ FREE_AND_NULL(tor_process_monitor, (procmon))
#endif /* !defined(TOR_PROCMON_H) */