diff options
author | Craig Tiller <ctiller@google.com> | 2016-09-12 09:57:07 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-09-12 09:57:07 -0700 |
commit | fc2636d7a66cc39596dbaebb1813adc93191290d (patch) | |
tree | 86c070c8469f19e36aa11d0fa1b0855b6f95d2c0 /src/core/lib/support | |
parent | df844f8a5cffafec36fb319c8f41bc11c9702a69 (diff) |
Fix resource leak
Diffstat (limited to 'src/core/lib/support')
-rw-r--r-- | src/core/lib/support/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/support/log.c b/src/core/lib/support/log.c index 6fbd947f4b..af1651dae5 100644 --- a/src/core/lib/support/log.c +++ b/src/core/lib/support/log.c @@ -60,8 +60,9 @@ const char *gpr_log_severity_string(gpr_log_severity severity) { void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message) { - if ((gpr_atm)severity < gpr_atm_no_barrier_load(&g_min_severity_to_print)) + if ((gpr_atm)severity < gpr_atm_no_barrier_load(&g_min_severity_to_print)) { return; + } gpr_log_func_args lfargs; memset(&lfargs, 0, sizeof(lfargs)); |