<p>dexter <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19381">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">i460_mux: correctly reset subchannels<br><br>When a subchannel is deleted or created the initalization mainly<br>consists of a memset over the wohle subchannel struct a message buffer<br>initailization.<br><br>However, when we delete a subchannel we also must take of the resetting<br>of the related struct. Currently this is done with a memest.<br>Unfortunately this creates not only a memory leak (there might be still<br>items in the multiplexer tx queue) but also it makes the application<br>crash when the message buffer is used the next time since the llist_head<br>of the tx queue looses its initialization.<br><br>Lets fix the memory leak problem and the message buffer problem and put<br>the reset functionality in a single place.<br><br>Change-Id: I937a9d4db95f44a860cd2c5dbb660dc1970b9a49<br>---<br>M src/gsm/i460_mux.c<br>1 file changed, 29 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/81/19381/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19381">change 19381</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/libosmocore/+/19381"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I937a9d4db95f44a860cd2c5dbb660dc1970b9a49 </div>
<div style="display:none"> Gerrit-Change-Number: 19381 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>