diff --git a/src/switch_utils.c b/src/switch_utils.c index 2dc4144e64..a995ebc405 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -2654,6 +2654,8 @@ SWITCH_DECLARE(int) switch_wait_socklist(switch_waitlist_t *waitlist, uint32_t l } } + free(pfds); + return r; }