]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Edge case for when you are subscribing to presence on a valet parking lot. In which...
authorWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:06:54 +0000 (17:06 -0700)
committerWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:07:31 +0000 (17:07 -0700)
src/mod/applications/mod_valet_parking/mod_valet_parking.c

index fe8f34804d6062a66879ec98d0691c6e9b794557..6ec4f2dbb5bf2220059e904f01a28adf4085d1c6 100644 (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);
                }
        }