diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-02-23 12:34:24 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-02-23 12:35:16 +0100 |
commit | 0d9d72eb42b35144af5bc69cff9e46f92a0dbfb0 (patch) | |
tree | 60081599410d9a2c94b4e32f51470d1d383ab300 /src/client.c | |
parent | 9b708e0a7bb89d6a4a3cf95e5ec4f280aa0f946a (diff) |
#980 memleak in json ogclient path
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index 9b2120f..096c628 100644 --- a/src/client.c +++ b/src/client.c @@ -683,6 +683,7 @@ int og_agent_state_process_response(struct og_client *cli) break; } + json_decref(root); cli->last_cmd = OG_CMD_UNSPEC; return err; |