<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22645">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2_fr: free_bind(): first do the NULL check before using members<br><br>Change-Id: I80f72ada15b477d735bf5aee36a5d67e80eb0136<br>---<br>M src/gb/gprs_ns2_fr.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/45/22645/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2_fr.c b/src/gb/gprs_ns2_fr.c</span><br><span>index 3af20b4..fcbafec 100644</span><br><span>--- a/src/gb/gprs_ns2_fr.c</span><br><span>+++ b/src/gb/gprs_ns2_fr.c</span><br><span>@@ -161,10 +161,10 @@</span><br><span>        struct priv_bind *priv;</span><br><span>      struct msgb *msg, *msg2;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    OSMO_ASSERT(gprs_ns2_is_fr_bind(bind));</span><br><span>      if (!bind)</span><br><span>           return;</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+   OSMO_ASSERT(gprs_ns2_is_fr_bind(bind));</span><br><span>      priv = bind->priv;</span><br><span> </span><br><span>    OSMO_ASSERT(llist_empty(&bind->nsvc));</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22645">change 22645</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/c/libosmocore/+/22645"/><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-Change-Id: I80f72ada15b477d735bf5aee36a5d67e80eb0136 </div>
<div style="display:none"> Gerrit-Change-Number: 22645 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>