Skip to content
Commit ea8d97b8 authored by Jason Evans's avatar Jason Evans
Browse files

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.
parent 23f6e103
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment