<p>fixeria <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18881">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">libosmo-mgcp-client: fix memleak: flush pending response queue<br><br>If the remote MGCP peer closes connection (or simply crashes), the<br>existing 'mgcp_response_pending' entities will never be removed<br>from the queue (mgcp->responses_pending).<br><br>This problem was noticed while running several LCLS test cases from<br>ttcn3-bsc-test. Every test case makes osmo-bsc leak two messages.<br><br>I found those messages suspicious and assumed that they're related:<br><br>  DLMGCP ERROR mgcp_client.c:700 Failed to read:<br>    r=127.0.0.1:2427<->l=127.0.0.1:2727: 111='Connection refused'<br>  DLMGCP ERROR mgcp_client.c:700 Failed to read:<br>    r=127.0.0.1:2427<->l=127.0.0.1:2727: 111='Connection refused'<br><br>Let's flush the pending response queue in such cases.<br><br>Change-Id: Ia2e89f31685a0822e5cb147a06cc1fc68efc1ec4<br>Related: OS#4619<br>---<br>M src/libosmo-mgcp-client/mgcp_client.c<br>1 file changed, 17 insertions(+), 0 deletions(-)<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/18881/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18881">change 18881</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/+/18881"/><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: Ia2e89f31685a0822e5cb147a06cc1fc68efc1ec4 </div>
<div style="display:none"> Gerrit-Change-Number: 18881 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>