fix(core): subscription parameter memory leak

This commit is contained in:
eeff
2023-05-06 15:18:02 +08:00
parent f0da62f3b1
commit c4194ea0ee
+2
View File
@@ -647,6 +647,8 @@ static int manager_loop(enum neu_event_io_type type, int fd, void *usr_data)
forward_msg(manager, msg, cmd->app);
manager_storage_subscribe(manager, cmd->app, cmd->driver,
cmd->group, cmd->params);
} else {
free(cmd->params);
}
header->type = NEU_RESP_ERROR;