From f6789462610ab5bae029cb114fa27453a54c8f9c Mon Sep 17 00:00:00 2001 From: Sunny Kumar Date: Thu, 11 Oct 2018 12:20:10 +0530 Subject: libglusterfs : fix newly introduced coverity defect CID: 1396060 updates: bz#789278 Change-Id: Ia25aa9a4ca7505e747aa92bb3ae81415da7d19d1 Signed-off-by: Sunny Kumar --- libglusterfs/src/logging.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libglusterfs/src') 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); -- cgit