#942 memleak in og_send_request()

master
OpenGnSys Support Team 2021-02-23 12:35:36 +01:00
parent 0d9d72eb42
commit 1c52b78e72
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ int og_send_request(enum og_rest_method method, enum og_cmd_type type,
cli->last_cmd = type; cli->last_cmd = type;
} }
json_decref((json_t *)data);
return 0; return 0;
} }