<p style="white-space: pre-wrap; word-wrap: break-word;">Hi Vadim,</p><p style="white-space: pre-wrap; word-wrap: break-word;">indeed this function can be longer improved, since it's clear from this fix that extra bytes are being allocated somewhere else (otherwise it would have failed until now). I wanted to avoid doing more changes which could lead to an error (like decrementing number of allocated bytes) to not mix new bugs with the feature. We can fix your comments in an extra commit later. Thanks for taking the time to investigate.</p><p><a href="https://gerrit.osmocom.org/10134">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10134">change 10134</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/10134"/><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-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I7aca0ce3d2981001e8081f7cee0dea3e2aaf8f7c </div>
<div style="display:none"> Gerrit-Change-Number: 10134 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 25 Jul 2018 08:57:42 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>