pull/1267/head
Vijay Pai 10 years ago
parent 2288f5b4b2
commit 0b9d0da39f
  1. 2
      src/core/profiling/timers.c

@ -80,7 +80,7 @@ grpc_timers_log* grpc_timers_log_create(int capacity_limit, FILE *dump,
grpc_timers_log* log = gpr_malloc(sizeof(*log));
/* TODO (vpai): Allow allocation below limit */
log->log = gpr_malloc(capacity_limit*sizeof(*log->log));
log->log = gpr_malloc(capacity_limit * sizeof(*log->log));
/* TODO (vpai): Improve concurrency, do per-thread logging? */
gpr_mu_init(&log->mu);

Loading…
Cancel
Save