libmsc/mncc_call.c: fix uninitialized access of stack memory
Change-Id: I5f561d9682c9fb87e4837430063095ef2cb7bd5f Fixes: CID#198405
This commit is contained in:
parent
444771dae2
commit
c5a8e9f19a
|
@ -199,7 +199,7 @@ int mncc_call_set_rtp_stream(struct mncc_call *mncc_call, struct rtp_stream *rtp
|
|||
void mncc_call_detach_rtp_stream(struct mncc_call *mncc_call)
|
||||
{
|
||||
struct rtp_stream *rtps = mncc_call->rtps;
|
||||
struct osmo_sockaddr_str clear;
|
||||
struct osmo_sockaddr_str clear = { 0 };
|
||||
if (!rtps)
|
||||
return;
|
||||
mncc_call->rtps = NULL;
|
||||
|
|
Loading…
Reference in New Issue