diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/templates.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates.c b/src/templates.c index 765d4324..55983a61 100644 --- a/src/templates.c +++ b/src/templates.c @@ -195,6 +195,9 @@ IndexingPrivate *generate_templates(UnitCell *cell, const char *filename, priv->n_templates = n_templates; priv->cell = cell_new_from_cell(cell); + free(image.data); + free(image.flags); + return (struct _indexingprivate *)priv; } |