diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/parking/parking_bridge_features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/parking/parking_bridge_features.c b/res/parking/parking_bridge_features.c index 8e5d739e1..3c0120762 100644 --- a/res/parking/parking_bridge_features.c +++ b/res/parking/parking_bridge_features.c @@ -542,6 +542,7 @@ void parking_set_duration(struct ast_bridge_features *features, struct parked_us if (ast_bridge_interval_hook(features, time_limit, parking_duration_callback, user, parking_duration_cb_destroyer, AST_BRIDGE_HOOK_REMOVE_ON_PULL)) { ast_log(LOG_ERROR, "Failed to apply duration limits to the parking call.\n"); + ao2_ref(user, -1); } } |