mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +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
|
// Memory release
|
||||||
Free(data);
|
Free(data);
|
||||||
if (sub != NULL)
|
|
||||||
{
|
|
||||||
Free(sub);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Output the data line
|
// Output the data line
|
||||||
|
Loading…
Reference in New Issue
Block a user