<p>Hoernchen has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/24740">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">cardem: free the buf<br><br>This leak was probably hard to notice since config commands are usually<br>rarely sent.<br><br>Change-Id: I21411ef78a32a5258a7008272774cdb83119b413<br>---<br>M firmware/libcommon/source/mode_cardemu.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/simtrace2 refs/changes/40/24740/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/libcommon/source/mode_cardemu.c b/firmware/libcommon/source/mode_cardemu.c</span><br><span>index a357f15..b9971ed 100644</span><br><span>--- a/firmware/libcommon/source/mode_cardemu.c</span><br><span>+++ b/firmware/libcommon/source/mode_cardemu.c</span><br><span>@@ -705,6 +705,7 @@</span><br><span>     case SIMTRACE_MSGT_BD_CEMU_CONFIG:</span><br><span>           cfg = (struct cardemu_usb_msg_config *) msg->l2h;</span><br><span>                 card_emu_set_config(ci->ch, cfg, msgb_l2len(msg));</span><br><span style="color: hsl(120, 100%, 40%);">+         usb_buf_free(msg);</span><br><span>           break;</span><br><span>       case SIMTRACE_MSGT_BD_CEMU_STATS:</span><br><span>    default:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/24740">change 24740</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/simtrace2/+/24740"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I21411ef78a32a5258a7008272774cdb83119b413 </div>
<div style="display:none"> Gerrit-Change-Number: 24740 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>