changetimerecorder : fix coverity issue

This patch fixes CID : 1124725
Issue : Resource leak

updates: bz#789278

Change-Id: I2afe65875fa393fd2d2f90b6f7cf7f6782dabf89
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
This commit is contained in:
Sunny Kumar 2018-10-05 01:38:15 +05:30 committed by Amar Tumballi
parent 1d392e2970
commit 82b7f8d779

View File

@ -2137,6 +2137,7 @@ init(xlator_t *this)
gf_msg(this->name, GF_LOG_ERROR, 0,
CTR_MSG_EXTRACT_CTR_XLATOR_OPTIONS_FAILED,
"Failed extracting ctr xlator options");
GF_FREE(priv);
return -1;
}