diff options
author | Jason Evans <jasone@canonware.com> | 2015-09-15 06:44:37 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2015-09-15 06:57:52 (GMT) |
commit | ea8d97b8978a0c0423f0ed64332463a25b787c3d (patch) | |
tree | 5cdc94849fabee68f3ee003981406d24462b60c7 /src/pages.c | |
parent | 23f6e103c871b4db5b315caf1a8d5c46d9675691 (diff) | |
download | jemalloc-ea8d97b8978a0c0423f0ed64332463a25b787c3d.zip jemalloc-ea8d97b8978a0c0423f0ed64332463a25b787c3d.tar.gz jemalloc-ea8d97b8978a0c0423f0ed64332463a25b787c3d.tar.bz2 |
Fix prof_{malloc,free}_sample_object() call order in prof_realloc().
Fix prof_realloc() to call prof_free_sampled_object() after calling
prof_malloc_sample_object(). Prior to this fix, if tctx and old_tctx
were the same, the tctx could have been prematurely destroyed.
Diffstat (limited to 'src/pages.c')
0 files changed, 0 insertions, 0 deletions