]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
and more "shut up static analyzer"
authorAlan T. DeKok <aland@freeradius.org>
Thu, 10 Oct 2024 15:02:28 +0000 (11:02 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 10 Oct 2024 15:02:28 +0000 (11:02 -0400)
src/bin/radclient-ng.c

index 36720b6753d0c4cffaf3eca06b0e870786705701..ed8b75df702a86c1979e1959a7c00885028bc7aa 100644 (file)
@@ -1779,6 +1779,10 @@ int main(int argc, char **argv)
                .release        = client_packet_release,
        };
 
+#ifdef STATIC_ANALYZER
+       if (!autofree) fr_exit_now(EXIT_FAILURE);
+#endif
+
        /*
         *      Open the RADIUS client bio, and then get the information associated with it.
         */