error = 0;
out:
if (mc->mc_data != NULL)
if (mc != NULL && mc->mc_data != NULL)
free(mc->mc_data, M_DEVBUF);
if (mc != NULL) {
MLY_LOCK(sc);