Remove call to lh_FUNCTION_free()
authortb <tb@openbsd.org>
Sat, 30 Mar 2024 09:41:25 +0000 (09:41 +0000)
committertb <tb@openbsd.org>
Sat, 30 Mar 2024 09:41:25 +0000 (09:41 +0000)
This is a wrapper around lh_free() which is already tested.

From Christian Andersen

regress/lib/libcrypto/free/freenull.c.tail

index e83e9e4..67bd3b7 100644 (file)
@@ -1,11 +1,9 @@
-/*     $OpenBSD: freenull.c.tail,v 1.2 2018/07/10 20:55:57 tb Exp $    */
+/*     $OpenBSD: freenull.c.tail,v 1.3 2024/03/30 09:41:25 tb Exp $    */
 
        BIO_free_all(NULL);
        NCONF_free_data(NULL);
        _CONF_free_data(NULL);
 
-       lh_FUNCTION_free(NULL);
-
        sk_ASN1_OBJECT_pop_free(NULL, NULL);
        sk_CONF_VALUE_pop_free(NULL, NULL);
        sk_GENERAL_NAME_pop_free(NULL, NULL);