* #27201: libiax: remove redundant NULL check

fr has already been checked at this point in the code, or it's pointing
to a buffer allocated on the heap.
This commit is contained in:
Tristan Matthews
2013-07-12 13:16:17 -04:00
parent 5cba4aeff5
commit a4730d145e

View File

@ -1199,7 +1199,7 @@ static int iax_send(struct iax_session *pvt, struct ast_frame *f, unsigned int t
res = iax_xmit_frame(fr);
}
}
if( !now && fr!=NULL )
if( !now )
iax_frame_free( fr );
return res;
}