diff options
author | Joshua Colp <jcolp@digium.com> | 2013-07-25 00:44:24 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-07-25 00:44:24 +0000 |
commit | 71609d58aa8e8cd9d0cbc4e2a29ab20d19599c27 (patch) | |
tree | f5f9721b85b505aee022176ee78a91bdac812dc4 /channels/chan_gulp.c | |
parent | 517eb93873e6d706aea355c44ecf1eba61571375 (diff) |
Improve initial INVITE handling and fix crash due to rapidly arriving CANCEL.
(closes issue ASTERISK-22150)
Review: https://reviewboard.asterisk.org/r/2696/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_gulp.c')
-rw-r--r-- | channels/chan_gulp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_gulp.c b/channels/chan_gulp.c index dbc6d4fdd..3e53b51cf 100644 --- a/channels/chan_gulp.c +++ b/channels/chan_gulp.c @@ -1604,7 +1604,7 @@ static int request(void *obj) static struct ast_channel *gulp_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, const char *data, int *cause) { struct request_data req_data; - struct ast_sip_session *session; + RAII_VAR(struct ast_sip_session *, session, NULL, ao2_cleanup); req_data.caps = cap; req_data.dest = data; |