summaryrefslogtreecommitdiff
path: root/parse
diff options
context:
space:
mode:
Diffstat (limited to 'parse')
-rw-r--r--parse/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/export.c b/parse/export.c
index 314f880..8650cea 100644
--- a/parse/export.c
+++ b/parse/export.c
@@ -256,9 +256,9 @@ tagexports(Node *file, int hidelocal)
tagtype(st, t->gparam[j], 0, hidelocal);
}
}
+ free(k);
/* tag the traits */
- free(k);
tr = NULL;
k = htkeys(st->tr, &n);
for (j = 0; j < n; j++) {