mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-04-26 10:24:44 +02:00
fix memory leak
This commit is contained in:
parent
8a02ea07e2
commit
71bb61dd5b
@ -407,7 +407,10 @@ DEBUG
|
||||
}
|
||||
|
||||
// END REPEAT GROUP_DSET
|
||||
|
||||
|
||||
FREE(buffer);
|
||||
fclose(f);
|
||||
f = NULL;
|
||||
}
|
||||
|
||||
if (file->parent.mode == 'w') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user