aboutsummaryrefslogtreecommitdiff
path: root/api/umosapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--api/umosapi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/umosapi.cpp b/api/umosapi.cpp
index 9db650f..249cb90 100644
--- a/api/umosapi.cpp
+++ b/api/umosapi.cpp
@@ -149,6 +149,7 @@ void UmosapiService::deleteUObject(const Rest::Request& request, Http::ResponseW
auto json_string = uobject::remove(request.param(":mcollection").as<string>(), request.param(":oid").as<string>(), jsonObjet);
response.send(Http::Code::Ok, json_string, MIME(Application, Json));
+ json_object_put(jsonObjet);
}
void UmosapiService::searchUObjectByKeyValue(const Rest::Request& request, Http::ResponseWriter response) {