diff --git a/src/Cedar/Interop_OpenVPN.c b/src/Cedar/Interop_OpenVPN.c index 854e1ba0..9343d9d1 100644 --- a/src/Cedar/Interop_OpenVPN.c +++ b/src/Cedar/Interop_OpenVPN.c @@ -1661,10 +1661,7 @@ OPENVPN_PACKET *OvsParsePacket(UCHAR *data, UINT size) LABEL_ERROR: Debug("OvsParsePacket Error.\n"); - if (ret != NULL) - { - OvsFreePacket(ret); - } + OvsFreePacket(ret); return NULL; }