Noux: fix 'Rm_session_component' destructor

Fixes #434.
This commit is contained in:
Christian Prochaska 2012-10-24 18:06:27 +02:00 committed by Norman Feske
parent 8b09418e56
commit ecb6947f9c

View File

@ -83,8 +83,8 @@ namespace Noux {
~Rm_session_component()
{
Region *curr = 0;
for (; curr; curr = curr->next())
Region *curr;
while ((curr = _regions.first()))
detach(curr->local_addr);
}