printf("il_delete_container: bad: ic=%p '%s' image=%p mask=%p\n",
PRINTF("il_delete_container: bad: ic=%p '%s' image=%p mask=%p\n",
il_delete_container(il_container *ic){    PR_ASSERT(ic);    if (ic) {        ILTRACE(2,("il: delete ic=0x%08x", ic));        /*         * We can't throw away this container until the netlib         * stops sending us stuff.  We defer the actual deletion         * of the container until then.         */        if (ic->is_url_loading) {#ifdef DEBUG_kipp            printf("il_delete_container: bad: can't delete ic=%p '%s'\n",                   ic, ic->url_address ? ic->url_address : "(null)");#endif            ic->state = IC_ABORT_PENDING;            return;        }                PR_ASSERT(ic->clients == NULL);        il_scour_container(ic);        PR_FREEIF(ic->background_color);        PR_FREEIF(ic->src_header->transparent_pixel);        IL_ReleaseColorSpace(ic->src_header->color_space);        PR_FREEIF(ic->src_header);            /* delete the image */        if (!(ic->image || ic->mask)) {#ifdef DEBUG_kipp            printf("il_delete_container: bad: ic=%p '%s' image=%p mask=%p\n",                   ic, ic->url_address ? ic->url_address : "(null)",                   ic->image, ic->mask);#endif            return;        }        il_destroy_pixmap(ic->img_cb, ic->image);        if (ic->mask)            il_destroy_pixmap(ic->img_cb, ic->mask);        NS_RELEASE(ic->img_cb);        if (ic->imgdcb) {          ic->imgdcb->SetContainer(nsnull);          NS_RELEASE(ic->imgdcb);        }                if (ic->imgdec) {          ic->imgdec->SetContainer(nsnull);          NS_RELEASE(ic->imgdec);        }        FREE_IF_NOT_NULL(ic->comment);        nsCRT::free(ic->url_address);        nsCRT::free(ic->type);        FREE_IF_NOT_NULL(ic->fetch_url);                PR_FREEIF(ic);    }}