d/rs: Free JSON

This commit is contained in:
Moses Turner 2021-08-19 17:21:47 -05:00 committed by Jakob Bornecrantz
parent 003ade3006
commit e8907afeed

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;
}