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 authored and Davide Beatrici committed 2018-08-11 21:49:27 +02:00
1 parent 5d2b977b4b
commit b8081e239a
1 file changed
-4
-4
View File
@@ -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