<p></p>
<blockquote>
<p dir="auto">Upon closer inspection of libstirshaken it doesn't seem to care about freeing the certificate chain in many cases which could explain it regardless if any of the recent PRs are applied.</p>
</blockquote>
<p dir="auto">Correct. libstirshaken didn't make a use of <code class="notranslate">xchain</code> only after your PR <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrtrev/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrtrev">@mrtrev</a></p>
<p dir="auto">in particular this was never used <a href="https://github.com/signalwire/libstirshaken/blob/e8289b0967a7b008dd666ee888094f182f64d94d/src/stir_shaken_ssl.c#L1900">https://github.com/signalwire/libstirshaken/blob/e8289b0967a7b008dd666ee888094f182f64d94d/src/stir_shaken_ssl.c#L1900</a></p>
<p dir="auto">so it is on your behalf to make sure it's correctly initialised and freed</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/pull/3289#issuecomment-1338915193">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOB27D5F6GIUJRHBM3WL3VOLANCNFSM6AAAAAASQDBAAY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZIJUJ2R5MM2EQEV5YTWL3VOLA5CNFSM6AAAAAASQDBAA2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSPZY4XS.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/pull/3289/c1338915193</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/pull/3289#issuecomment-1338915193",
"url": "https://github.com/kamailio/kamailio/pull/3289#issuecomment-1338915193",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>