#980 memleak in json ogclient path

master
OpenGnSys Support Team 2021-02-23 12:34:24 +01:00
parent 9b708e0a7b
commit 0d9d72eb42
1 changed files with 1 additions and 0 deletions

View File

@ -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;