[Debian-ha-commits] [ocfs2-tools] 49/58: o2cb_ctl: free 'cf' at the end of j_config_free()
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Tue Jun 20 13:40:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch upstream
in repository ocfs2-tools.
commit 213d7139628bffa107cfaaff1e1314142354b44a
Author: piaojun <piaojun at huawei.com>
Date: Mon Oct 17 10:43:49 2016 +0800
o2cb_ctl: free 'cf' at the end of j_config_free()
'cf' need to be freed at the end of j_config_free().
Signed-off-by: Jun Piao <piaojun at huawei.com>
Reviewed-by: Joseph Qi <jiangqi903 at gmail.com>
---
o2cb_ctl/o2cb_config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/o2cb_ctl/o2cb_config.c b/o2cb_ctl/o2cb_config.c
index 17749f8..2bb1094 100644
--- a/o2cb_ctl/o2cb_config.c
+++ b/o2cb_ctl/o2cb_config.c
@@ -549,6 +549,7 @@ gint o2cb_config_store(O2CBConfig *config, const gchar *filename)
g_free(text);
out:
+ j_config_free(cf);
return rc;
} /* o2cb_config_store() */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/ocfs2-tools.git
More information about the Debian-HA-Commits
mailing list