RAII_VAR(struct stasis_app *, app, NULL, ao2_cleanup);
RAII_VAR(struct stasis_app_control *, control, NULL, control_unlink);
- struct ast_bridge *last_bridge = NULL;
+ struct ast_bridge *bridge = NULL;
int res = 0;
ast_assert(chan != NULL);
RAII_VAR(struct ast_frame *, f, NULL, ast_frame_dtor);
int r;
int command_count;
- struct ast_bridge *bridge = NULL;
+ struct ast_bridge *last_bridge;
/* Check to see if a bridge absorbed our hangup frame */
if (ast_check_hangup_locked(chan)) {