commit | ea8d97b8978a0c0423f0ed64332463a25b787c3d | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Sep 14 23:44:37 2015 -0700 |
committer | Jason Evans <jasone@canonware.com> | Mon Sep 14 23:57:52 2015 -0700 |
tree | 5cdc94849fabee68f3ee003981406d24462b60c7 | |
parent | 23f6e103c871b4db5b315caf1a8d5c46d9675691 [diff] |
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.