redynotredy
New Member
I don't usually write programs or scripts which require memory management, so I have been looking at some scripts which has code like obs_data_get_array and later on they release the array using obs_data_array_release. When do I have to release references? When I am doing properties references? Or when I'm doing scene references?
I'm also curious about how to use the bfree() function, I keep getting
"in method 'bfree', argument 1 of type 'void *'" when I try to release a reference to obs_frontend_get_scene_names() using bfree()
I'm also curious about how to use the bfree() function, I keep getting
"in method 'bfree', argument 1 of type 'void *'" when I try to release a reference to obs_frontend_get_scene_names() using bfree()