~kvik/lu9-lua

8831876b2132bb274351cd48749e85c4241a4a30 — kvik 2 years ago 4fc16e0
mem: revert setmalloctag on l_alloc

For unknown reasons this causes the leak analysis to produce
false-positives.  Revert until this is understood / fixed.
1 files changed, 2 insertions(+), 4 deletions(-)

M lauxlib.c
M lauxlib.c => lauxlib.c +2 -4
@@ 1012,10 1012,8 @@ static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) {
  if (nsize == 0) {
    free(ptr);
    return NULL;
  }
  ptr = realloc(ptr, nsize);
  setmalloctag(ptr, getcallerpc(&ud));
  return ptr;
  } else
  	return realloc(ptr, nsize);
}