unity: Fix memory leak in provider
This commit is contained in:
@@ -60,6 +60,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
|
|||||||
}
|
}
|
||||||
if (ts->to_subnet(ts, &net, &mask))
|
if (ts->to_subnet(ts, &net, &mask))
|
||||||
{
|
{
|
||||||
|
ts->destroy(ts);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ts->destroy(ts);
|
ts->destroy(ts);
|
||||||
|
|||||||
Reference in New Issue
Block a user