mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
d/rs: Free JSON
This commit is contained in:
parent
003ade3006
commit
e8907afeed
|
@ -380,6 +380,8 @@ load_config(struct rs_6dof *rs)
|
|||
rs->enable_pose_filtering = cJSON_IsTrue(pose_filtering);
|
||||
}
|
||||
|
||||
cJSON_Delete(config_json.root);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue