Use g_slice_spoiled() not g_std_spoiled()

This commit is contained in:
Poul-Henning Kamp 2003-05-02 06:34:51 +00:00
parent 28ce9efcef
commit 4f806d2428

View File

@ -308,7 +308,7 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags)
g_topology_lock();
g_access_rel(cp, -1, 0, 0);
if (LIST_EMPTY(&gp->provider)) {
g_std_spoiled(cp);
g_slice_spoiled(cp);
return (NULL);
}
return (gp);