Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix nasty bug in the realloc tramp

  • Loading branch information...
commit 1514ba484ac3789b3da15b413a3b521b29ba642d 1 parent 982f062
@tmm1 tmm1 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/tracers/memory.c
View
2  ext/tracers/memory.c
@@ -76,7 +76,7 @@ realloc_tramp(void *ptr, size_t size)
stats.realloc_bytes_requested += size;
stats.realloc_calls++;
- stats.realloc_bytes_actual += malloc_usable_size(ptr);
+ stats.realloc_bytes_actual += malloc_usable_size(ret);
errno = err;
return ret;
Please sign in to comment.
Something went wrong with that request. Please try again.