summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2018-10-11 12:20:10 +0530
committerAmar Tumballi <amarts@redhat.com>2018-10-12 15:38:28 +0000
commitf6789462610ab5bae029cb114fa27453a54c8f9c (patch)
tree7ebe0711bc37996d4276c7fd55b8e8cc13bd12b5 /libglusterfs
parent7bf95631b52bd05b06122180f8bd4aa62c70b1a9 (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')
-rw-r--r--libglusterfs/src/logging.c2
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);