summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/gfdb/gfdb_sqlite3_helper.c2
-rw-r--r--xlators/features/changetimerecorder/src/ctr-xlator-ctx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c b/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c
index 40ee24c9627..68e0991bff2 100644
--- a/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c
+++ b/libglusterfs/src/gfdb/gfdb_sqlite3_helper.c
@@ -829,7 +829,7 @@ gf_sql_insert_wind (gf_sql_connection_t *sql_conn,
"Creating gfid string failed.");
goto out;
}
- gf_sql_update_link (sql_conn, gfid_str,
+ ret = gf_sql_update_link (sql_conn, gfid_str,
pargfid_str,
gfdb_db_record->file_name,
gfdb_db_record->file_path,
diff --git a/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c b/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
index b8f6f0301d9..b5a54c0b5e4 100644
--- a/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
+++ b/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
@@ -213,7 +213,7 @@ ctr_update_hard_link (xlator_t *this,
/* update the hard link */
gf_uuid_copy (ctr_hard_link->pgfid, pgfid);
- GF_FREE (&ctr_hard_link->base_name);
+ GF_FREE (ctr_hard_link->base_name);
ret = gf_asprintf(&ctr_hard_link->base_name, "%s", base_name);
if (ret < 0) {
gf_msg (this->name, GF_LOG_ERROR, 0,