<p></p>
<p dir="auto">The qm allocator has a <code class="notranslate">ROUNDTO</code> of <code class="notranslate">16UL</code> so naturally provides 16-byte aligned memory.</p>
<p dir="auto">However the flag <code class="notranslate">DBG_SR_MEMORY</code> causes <code class="notranslate">ROUNDTO</code> to be reduced to <code class="notranslate">sizeof(void *)</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3157#issuecomment-1162504439">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZK7R2W3PFN73YVBK7TVQJPUHANCNFSM5ZIRWLKQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZOLGMIQT4OPOLRA3ALVQJPUHA5CNFSM5ZIRWLK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIVFGR5Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3157/1162504439</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3157#issuecomment-1162504439",
"url": "https://github.com/kamailio/kamailio/issues/3157#issuecomment-1162504439",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>