<p style="white-space: pre-wrap; word-wrap: break-word;">re free policy: with struct xua_msg, throughout the code, the function that creates the struct xua_msg also frees it. (with a few exceptions that seem erratic and are being fixed by these patches.)</p><p style="white-space: pre-wrap; word-wrap: break-word;">If the lower layers had to free the xua_msg, each and every error handling code path would need an explicit xua_msg_free(). The xua_msg is never enqueued anywhere, it merely exists to pass a message down a code path.</p><p><a href="https://gerrit.osmocom.org/9958">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/9958">change 9958</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/9958"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I6211c8809eefeb94289c4c497553561b043ee619 </div>
<div style="display:none"> Gerrit-Change-Number: 9958 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Pau Espin Pedrol <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 11 Jul 2018 14:43:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>