1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-21 23:28:51 -05:00

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