Clean up memory management when loading IMC/IMVs from files
This commit is contained in:
@@ -119,8 +119,6 @@ METHOD(imv_manager_t, load, bool,
|
||||
imv = tnc_imv_create(name, path);
|
||||
if (!imv)
|
||||
{
|
||||
free(name);
|
||||
free(path);
|
||||
return FALSE;
|
||||
}
|
||||
if (!add(this, imv))
|
||||
|
||||
Reference in New Issue
Block a user