1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-14 05:30:41 +03:00

src/Mayaqua/Cfg.c: "sub" is not assigned any value, no need to free it

found by coverity
This commit is contained in:
Ilya Shipitsin 2018-08-11 21:53:24 +05:00 committed by Davide Beatrici
parent 5d2b977b4b
commit b8081e239a

View File

@ -1366,10 +1366,6 @@ void CfgAddItemText(BUF *b, ITEM *t, UINT depth)
// Memory release // Memory release
Free(data); Free(data);
if (sub != NULL)
{
Free(sub);
}
} }
// Output the data line // Output the data line