diff options
author | Thomas White <taw@physics.org> | 2010-09-08 12:22:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:57 +0100 |
commit | c81d04eb776260f4499f3f3824bc5d02e42ef58c (patch) | |
tree | 83a57f955a65d65e5c65016662f5a7230cc5fe0d /src/cell.c | |
parent | 9526f8c65df5fdb21247b57cd414c258375dc798 (diff) |
Fix unit cell point group memory leak
Diffstat (limited to 'src/cell.c')
-rw-r--r-- | src/cell.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -86,6 +86,13 @@ UnitCell *cell_new() } +void cell_free(UnitCell *cell) +{ + free(cell->pointgroup); + free(cell); +} + + void cell_set_parameters(UnitCell *cell, double a, double b, double c, double alpha, double beta, double gamma) { |