CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2023/06/13 02:45:41

Modified files:
        sbin/iked      : ikev2.c 

Log message:
Fix FILE leak in error path.

If flowf is NULL then fclose(spif) must be called.
Split up the error check from if (spif == NULL || flowf == NULL) to
individual checks since that is easier to read.

Noticed by markus@, OK tb@

Reply via email to