This is pointless in that we won't ever hit those paths in real life,
but coverity complains.
Fixes: f014ae3c7cce ("nouveau: add support for nir")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
break;
default:
assert(!"unsupported IR!");
+ free(info);
return false;
}
break;
default:
assert(!"unsupported IR!");
+ free(prog);
return NULL;
}
break;
default:
assert(!"unsupported IR!");
+ free(prog);
return NULL;
}
break;
default:
assert(!"unsupported IR!");
+ free(info);
return false;
}
break;
default:
assert(!"unsupported IR!");
+ free(prog);
return NULL;
}
break;
default:
assert(!"unsupported IR!");
+ free(prog);
return NULL;
}