mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
* #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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user