libglusterfs : fix newly introduced coverity defect
CID: 1396060 updates: bz#789278 Change-Id: Ia25aa9a4ca7505e747aa92bb3ae81415da7d19d1 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
parent
7bf95631b5
commit
f678946261
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user