summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rest.c b/src/rest.c
index ec1dda6..b50c423 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -1986,6 +1986,9 @@ static int og_cmd_post_client_update(json_t *element,
og_dbi_close(dbi);
return -1;
}
+
+ dbi_result_free(result);
+
result = dbi_conn_queryf(dbi->conn,
"UPDATE ordenadores"
" SET numserie='%s',"