1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-10-02 06:21:05 +02:00

fix memory leak

This commit is contained in:
q-posev 2021-03-17 17:02:58 +01:00
parent 8a02ea07e2
commit 71bb61dd5b

View File

@ -407,7 +407,10 @@ DEBUG
}
// END REPEAT GROUP_DSET
FREE(buffer);
fclose(f);
f = NULL;
}
if (file->parent.mode == 'w') {