The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

u/config: Use cJSON_Delete instead of cJSON_Free for gui scene parsing

authored by

Moses Turner and committed by
Jakob Bornecrantz
d9197529 714925e1

+1 -1
+1 -1
src/xrt/auxiliary/util/u_config_json.c
··· 533 533 534 534 struct cJSON *c = 535 535 cJSON_DetachItemFromObjectCaseSensitive(cJSON_GetObjectItemCaseSensitive(json->root, "scenes"), scene_name); 536 - cJSON_free(json->root); 536 + cJSON_Delete(json->root); 537 537 return c; 538 538 } 539 539