d/rs: Free JSON

This commit is contained in:
Moses Turner authored and Jakob Bornecrantz committed 2021-08-20 12:28:19 +01:00
1 parent 003ade3006
commit e8907afeed
1 file changed
+2
+2
View File
@@ -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;
}