Edge case for when you are subscribing to presence on a valet parking lot. In which case there would be a small leak.

This commit is contained in:
William King 2013-05-18 17:06:54 -07:00
parent 97286e10cd
commit bd4ea84242
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
* Contributor(s):
*
* Anthony Minessale II <anthm@freeswitch.org>
* William King <william.king@quentustech.com>
*
* mod_valet_parking.c -- Valet Parking Module
*
@ -885,6 +886,7 @@ static void pres_event_handler(switch_event_t *event)
switch_mutex_unlock(lot->mutex);
}
switch_console_free_matches(&matches);
}
}