diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2018-10-11 12:20:10 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-10-12 15:38:28 +0000 |
commit | f6789462610ab5bae029cb114fa27453a54c8f9c (patch) | |
tree | 7ebe0711bc37996d4276c7fd55b8e8cc13bd12b5 /libglusterfs/src | |
parent | 7bf95631b52bd05b06122180f8bd4aa62c70b1a9 (diff) |
libglusterfs : fix newly introduced coverity defect
CID: 1396060
updates: bz#789278
Change-Id: Ia25aa9a4ca7505e747aa92bb3ae81415da7d19d1
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/logging.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index b57d47a7553..8fffd4174fa 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -2294,8 +2294,6 @@ _gf_log_eh(const char *function, const char *fmt, ...) } ret = eh_save_history(this->history, logline); - if (ret < 0) - GF_FREE(logline); out: GF_FREE(logline); |