openbsd-ports/security/zkt/patches/patch-zconf_c
2022-03-11 19:53:16 +00:00

15 lines
298 B
Plaintext

Index: zconf.c
--- zconf.c.orig
+++ zconf.c
@@ -746,9 +746,7 @@ zconf_t *dupconfig (const zconf_t *conf)
*****************************************************************/
zconf_t *freeconfig (zconf_t *conf)
{
- if (conf != NULL);
- free (conf);
-
+ free (conf);
return (zconf_t *)NULL;
}