diff options
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index cb9d69c6cd..cce5c7953b 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -785,9 +785,12 @@ queue_control_event_string,(uint16_t event, char *msg)) } } +#define queued_event_free(ev) \ + FREE_AND_NULL(queued_event_t, queued_event_free_, (ev)) + /** Release all storage held by <b>ev</b>. */ static void -queued_event_free(queued_event_t *ev) +queued_event_free_(queued_event_t *ev) { if (ev == NULL) return; |