add: if (status == B_OK) {  user_debug_image_deleted(&image->info);  free(image); }
context: unregister_image(struct team *team, image_id id){	status_t status = B_ENTRY_NOT_FOUND;	struct image *image = NULL;	mutex_lock(&sImageMutex);	while ((image = list_get_next_item(&team->image_list, image)) != NULL) {		if (image->info.id == id) {			list_remove_link(image);			free(image);			status = B_OK;			break;		}	}	mutex_unlock(&sImageMutex);	return status;}