diff options
author | TingPing <tingping@tingping.se> | 2014-12-28 08:14:05 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-12-28 08:14:05 -0500 |
commit | 14d3a03f4173f017fa180d034ab678de3b105fa1 (patch) | |
tree | e7e996cc1a4d27477e22a09496e82f4b710b3c86 | |
parent | 95febd978c9f5b0c1eb76b3a2c506ef540087ce3 (diff) |
Fix leak in make-te
This doesn't really matter but it shuts up AddressSanitizer
-rw-r--r-- | src/common/make-te.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/make-te.c b/src/common/make-te.c index 5eceb5f0..834646ef 100644 --- a/src/common/make-te.c +++ b/src/common/make-te.c @@ -87,9 +87,11 @@ int main(void) if (i + 1 < max) { fprintf(stderr, "\t%s,\t\t%s,\n", defines[i], defines[i+1]); + free (defines[i]); i++; } else fprintf(stderr, "\t%s,\n", defines[i]); + free (defines[i]); i++; } fprintf(stderr, "\tNUM_XP\n};\n"); |