From 077e75cba9b0ebcfb8acc0eb9e9652cad99c8a59 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sun, 1 Mar 2015 21:59:17 -0800 Subject: Fix memory allocation --- src/core/debug/trace.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core') diff --git a/src/core/debug/trace.c b/src/core/debug/trace.c index 9389631fae..32c35e7fb3 100644 --- a/src/core/debug/trace.c +++ b/src/core/debug/trace.c @@ -115,4 +115,9 @@ void grpc_tracer_init(const char *env_var) { parse(e); gpr_free(e); } + while (tracers) { + tracer *t = tracers; + tracers = t->next; + gpr_free(t); + } } -- cgit v1.2.3