Fix leak in make-te

This doesn't really matter but it shuts up AddressSanitizer
This commit is contained in:
TingPing 2014-12-28 08:14:05 -05:00
parent 95febd978c
commit 14d3a03f41

View File

@ -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");