mirror of https://github.com/ecmwf/eccodes.git
Testing: Fix memory leaks
This commit is contained in:
parent
0395323876
commit
39f511c84e
|
@ -90,5 +90,9 @@ int main(int argc, char** argv)
|
|||
|
||||
if (set) codes_fieldset_delete(set);
|
||||
|
||||
for (i = 0; i < nfiles; i++)
|
||||
free(filenames[i]);
|
||||
free(filenames);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue