summaryrefslogtreecommitdiffabout
path: root/src/triplet.c
Unidiff
Diffstat (limited to 'src/triplet.c') (more/less context) (show whitespace changes)
-rw-r--r--src/triplet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/triplet.c b/src/triplet.c
index 05b7536..aa74de0 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -127,9 +127,10 @@ triplet_lookup (struct spool *spool, const char *name)
127 memcpy (key.name, finfo.name, finfo.root_len); 127 memcpy (key.name, finfo.name, finfo.root_len);
128 key.name[finfo.root_len] = 0; 128 key.name[finfo.root_len] = 0;
129 key.spool = spool; 129 key.spool = spool;
130 file_info_cleanup (&finfo);
130 131
131 ret = grecs_symtab_lookup_or_install (triplet_table, &key, NULL); 132 ret = grecs_symtab_lookup_or_install (triplet_table, &key, NULL);
132 file_info_cleanup (&finfo); 133 free (key.name);
133 134
134 return ret; 135 return ret;
135} 136}

Return to:

Send suggestions and report system problems to the System administrator.