shithub: mc

Download patch

ref: 4ecfdbc4819481740991e7f477a32ed7396c7125
parent: d359a98ab9cfc42de66ad35333bd6d6c0571b7ca
author: Ori Bernstein <[email protected]>
date: Sun Oct 29 15:12:27 EDT 2017

Cosmetic tweak

--- a/parse/export.c
+++ b/parse/export.c
@@ -256,9 +256,9 @@
 				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++) {