commit | c72578b1b959b06a3c21e760a4f27b8284d6a1ec | [log] [tgz] |
---|---|---|
author | Bill Blough <billblough@apache.org> | Tue May 01 01:49:17 2018 +0000 |
committer | Bill Blough <billblough@apache.org> | Tue May 01 01:49:17 2018 +0000 |
tree | 100e48becff695ef809c2cce4116325f5e0b63d6 | |
parent | 845e40b16ff2a02248720b03769f46ae8fec823f [diff] |
Free log_impl on error to avoid memory leak JIRA: AXIS2C-1655
diff --git a/util/src/log.c b/util/src/log.c index 6cd7f0f..7172f52 100644 --- a/util/src/log.c +++ b/util/src/log.c
@@ -120,6 +120,7 @@ if(!log_impl->mutex) { fprintf(stderr, "cannot create log mutex \n"); + AXIS2_FREE(allocator, log_impl); return NULL; }