diff options
author | Thomas White <taw@physics.org> | 2010-03-17 14:09:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-17 14:09:49 +0100 |
commit | 274a5e2803eb3afe0d53b27c6078ef4495d587a0 (patch) | |
tree | a1bc21d37e94ff5450cddc148cd33227b30f94ad /src/sfac.h | |
parent | f38be837bd33dfc4d98d251b2e81d5fa555a4f5c (diff) |
Fix various memory leaks and tidy a few things
Diffstat (limited to 'src/sfac.h')
-rw-r--r-- | src/sfac.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,7 +54,10 @@ struct molecule extern double complex get_sfac(const char *n, double s, double en); extern struct molecule *load_molecule(void); +extern void free_molecule(struct molecule *mol); +extern struct molecule *copy_molecule(struct molecule *orig); extern double complex *get_reflections(struct molecule *mol, double en); extern void get_reflections_cached(struct molecule *mol, double en); + #endif /* SFAC_H */ |