summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rest.c b/src/rest.c
index 530d667..d8bb773 100644
--- a/src/rest.c
+++ b/src/rest.c
@@ -2379,6 +2379,8 @@ static int og_delete_computer_folder(struct og_dbi *dbi, uint32_t folder_id)
return -1;
}
+ dbi_result_free(result);
+
result = dbi_conn_queryf(dbi->conn,
"DELETE FROM ordenadores "
"WHERE grupoid=%u",