if(ic->type){ nsCRT::free(ic->type); ic->type = NULL; }
IL_StreamComplete(il_container *ic, PRBool is_multipart){#ifdef DEBUG	PRTime cur_time;	PRInt32 difference;#endif /* DEBUG */	PR_ASSERT(ic);#ifdef DEBUG	cur_time = PR_Now();	LL_SUB(cur_time, cur_time, ic->start_time);	difference = LL_L2I(difference, cur_time);    ILTRACE(1, ("il: complete: %d seconds for %s\n",                difference, ic->url_address));#endif /* DEBUG */    ic->is_multipart = is_multipart;	if (ic->imgdec)        ic->imgdec->ImgDComplete();    else        il_image_complete(ic);}