unity: Fix memory leak in provider

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