Vishal Verma wrote: > Static analysis reports a couple of issues in add_cxl_region(). Firstly, > 'path' wasn't freed in the success case, only in the error case. > Secondly, the error handling after 'calloc()'ing the region object > erroneously jumped to the error path which tried to free the region object. > > Add anew error label to just free 'path' and return for this exit case.
s/anew/a new/ Reviewed-by: Dan Williams <[email protected]>
