unity: Fix memory leak in provider

This commit is contained in:
Tobias Brunner
2013-07-17 18:23:57 +02:00
parent b2dfa0624d
commit c7d0b80abb
@@ -60,6 +60,7 @@ METHOD(enumerator_t, attribute_enumerate, bool,
}
if (ts->to_subnet(ts, &net, &mask))
{
ts->destroy(ts);
break;
}
ts->destroy(ts);