mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-25 09:39:52 +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:
parent
5d2b977b4b
commit
b8081e239a
@ -1366,10 +1366,6 @@ void CfgAddItemText(BUF *b, ITEM *t, UINT depth)
|
||||
|
||||
// Memory release
|
||||
Free(data);
|
||||
if (sub != NULL)
|
||||
{
|
||||
Free(sub);
|
||||
}
|
||||
}
|
||||
|
||||
// Output the data line
|
||||
|
Loading…
Reference in New Issue
Block a user