From: Russell Bryant Date: Fri, 7 Nov 2008 15:42:04 +0000 (+0000) Subject: Remove a bogus ast_free() that Kevin noticed. This was probably just left over X-Git-Tag: 1.6.2.0-beta1~914 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41ab61a2a221a323364c4f8a2c1857da83159cc9;p=thirdparty%2Fasterisk.git Remove a bogus ast_free() that Kevin noticed. This was probably just left over from pre-astobj2ified chan_sip. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155264 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8e6294f9bd..4f820799e2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6426,7 +6426,6 @@ static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr_in *si if (ast_string_field_init(p, 512)) { ao2_t_ref(p, -1, "failed to string_field_init, drop p"); - ast_free(p); return NULL; }