Miscellaneous cleanups.

This commit is contained in:
Jason Evans 2014-10-30 23:18:45 -07:00
parent d33f834591
commit cfc5706f69
3 changed files with 10 additions and 10 deletions

View file

@ -204,7 +204,9 @@ prof_alloc_rollback(tsd_t *tsd, prof_tctx_t *tctx, bool updated)
}
void
prof_malloc_sample_object(const void *ptr, size_t usize, prof_tctx_t *tctx) {
prof_malloc_sample_object(const void *ptr, size_t usize, prof_tctx_t *tctx)
{
prof_tctx_set(ptr, tctx);
malloc_mutex_lock(tctx->tdata->lock);