diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-03-01 21:59:17 -0800 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-03-01 21:59:17 -0800 |
commit | 077e75cba9b0ebcfb8acc0eb9e9652cad99c8a59 (patch) | |
tree | 63cc85f6e5779a2c55d10daafac83e496109c42d /src/core | |
parent | faa8480a399061cef95aef394b2e1977bdef4b4a (diff) |
Fix memory allocation
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/debug/trace.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); + } } |