<p><a href="https://gerrit.osmocom.org/12947">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12947/1/tests/types/TypesTest.cpp">File tests/types/TypesTest.cpp:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12947/1/tests/types/TypesTest.cpp@438">Patch Set #1, Line 438:</a> <code style="font-family:monospace,monospace">       struct msgb *m = msgb_alloc(80, "test");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I don't see this "m" being freed.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12947/1/tests/types/TypesTest.cpp@458">Patch Set #1, Line 458:</a> <code style="font-family:monospace,monospace">        BTS the_bts;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">the_bts? lol why not "bts"?</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12947/1/tests/types/TypesTest.cpp@467">Patch Set #1, Line 467:</a> <code style="font-family:monospace,monospace">        check_imm_ass(tbf, true, GSM_L1_BURST_TYPE_ACCESS_2, res, ARRAY_SIZE(res));</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think it'd be more correct to use sizeof(res) here, since you are passing a length. Of course sizeof==ARRAY_SIZE in this case.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12947">change 12947</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/12947"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I63f4654b23c7c4f063f6b3254d77157fac798586 </div>
<div style="display:none"> Gerrit-Change-Number: 12947 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Max <msuraev@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-CC: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 18 Feb 2019 21:25:16 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>