From: Victor Julien Date: Fri, 6 May 2022 09:13:09 +0000 (+0200) Subject: detect/iponly: fix debug compiler warning X-Git-Tag: suricata-7.0.0-beta1~629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bdf18a3b076cb8ba68e0fa1a4528d1b92348813;p=thirdparty%2Fsuricata.git detect/iponly: fix debug compiler warning --- diff --git a/src/detect-engine-iponly.c b/src/detect-engine-iponly.c index 390e3495e7..d63f7939dc 100644 --- a/src/detect-engine-iponly.c +++ b/src/detect-engine-iponly.c @@ -462,8 +462,8 @@ void IPOnlyCIDRListFree(IPOnlyCIDRItem *tmphead) while (it != NULL) { i++; - SCFree(it); SCLogDebug("Item(%p) %"PRIu32" removed", it, i); + SCFree(it); it = next; if (next != NULL)