fix for the "Reduce allocations overhead"

Now no trap when compiling tccboot
master
seyko 2016-04-22 20:32:15 +03:00
parent 1f49441a27
commit b4125ba0c1
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ tail_call:
al->nb_total++;
#endif
return ret;
} else if (al->top && is_own) {
} else if (is_own) {
al->nb_allocs--;
ret = tal_realloc(*pal, 0, size);
header = (((tal_header_t *)p) - 1);