<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12604">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">trxcon/l1ctl.c: fix memleak triggered by unsupported messages<br><br>Change-Id: I6e636afec8e45d7dc786f5f159cd5d7784d9a83b<br>---<br>M src/host/trxcon/l1ctl.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/04/12604/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/host/trxcon/l1ctl.c b/src/host/trxcon/l1ctl.c</span><br><span>index 02aa3fa..b8e2faa 100644</span><br><span>--- a/src/host/trxcon/l1ctl.c</span><br><span>+++ b/src/host/trxcon/l1ctl.c</span><br><span>@@ -872,6 +872,7 @@</span><br><span>         case L1CTL_SIM_REQ:</span><br><span>          LOGP(DL1C, LOGL_NOTICE, "Ignoring unsupported message "</span><br><span>                    "(type=%u)\n", l1h->msg_type);</span><br><span style="color: hsl(120, 100%, 40%);">+           msgb_free(msg);</span><br><span>              return -ENOTSUP;</span><br><span>     default:</span><br><span>             LOGP(DL1C, LOGL_ERROR, "Unknown MSG type %u: %s\n", l1h->msg_type,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12604">change 12604</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/12604"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I6e636afec8e45d7dc786f5f159cd5d7784d9a83b </div>
<div style="display:none"> Gerrit-Change-Number: 12604 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>