<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/15581">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgw: Allocate mgcp_conn instance under tcfg->endpoints<br><br>The connection becomes to the endpoint, so let's not use the NULL<br>context there.<br><br>Related: OS#3950<br>Change-Id: I6f6441c3ef21aac577af08eb018bacbca4c45fb7<br>---<br>M src/libosmo-mgcp/mgcp_protocol.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/81/15581/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libosmo-mgcp/mgcp_protocol.c b/src/libosmo-mgcp/mgcp_protocol.c</span><br><span>index b596044..c72596a 100644</span><br><span>--- a/src/libosmo-mgcp/mgcp_protocol.c</span><br><span>+++ b/src/libosmo-mgcp/mgcp_protocol.c</span><br><span>@@ -919,7 +919,7 @@</span><br><span>    endp->callid = talloc_strdup(tcfg->endpoints, callid);</span><br><span> </span><br><span>     snprintf(conn_name, sizeof(conn_name), "%s", callid);</span><br><span style="color: hsl(0, 100%, 40%);">- _conn = mgcp_conn_alloc(NULL, endp, MGCP_CONN_TYPE_RTP, conn_name);</span><br><span style="color: hsl(120, 100%, 40%);">+   _conn = mgcp_conn_alloc(tcfg->endpoints, endp, MGCP_CONN_TYPE_RTP, conn_name);</span><br><span>    if (!_conn) {</span><br><span>                LOGPENDP(endp, DLMGCP, LOGL_ERROR,</span><br><span>                    "CRCX: unable to allocate RTP connection\n");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/15581">change 15581</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-mgw/+/15581"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6f6441c3ef21aac577af08eb018bacbca4c45fb7 </div>
<div style="display:none"> Gerrit-Change-Number: 15581 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>