Only detach consumers which are attached when we wither stuff away.

Pointed out by:	pjd
This commit is contained in:
phk 2004-07-09 14:06:17 +00:00
parent 98f388939d
commit 5be6baa85c

View File

@ -317,7 +317,8 @@ g_wither_washer()
result |= 1;
continue;
}
g_detach(cp);
if (cp->provider != NULL)
g_detach(cp);
g_destroy_consumer(cp);
result |= 2;
}