mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-26 15:01:41 +01:00
d/rs: Free JSON
This commit is contained in:
1 parent
003ade3006
commit
e8907afeed
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user