diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-02-23 12:35:36 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-02-23 12:35:53 +0100 |
commit | 1c52b78e72dade90f23cf9d41e7700648a10eee6 (patch) | |
tree | 888a10c6f42c494d897fd09856d449e28fbc551a /src/rest.c | |
parent | 0d9d72eb42b35144af5bc69cff9e46f92a0dbfb0 (diff) |
#942 memleak in og_send_request()
Diffstat (limited to 'src/rest.c')
-rw-r--r-- | src/rest.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -315,6 +315,8 @@ int og_send_request(enum og_rest_method method, enum og_cmd_type type, cli->last_cmd = type; } + json_decref((json_t *)data); + return 0; } |