mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +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);
|
rs->enable_pose_filtering = cJSON_IsTrue(pose_filtering);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cJSON_Delete(config_json.root);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue