Noticed a possible scenario where some data wasn't freed when creating a source via osn::Input::Create fails, the values in question aren't freed when obs_source_create fails
Motivation and Context
Technically a memory leak
How Has This Been Tested?
Compiled and launched Streamlabs Desktop with change, added sources and saw no difference in behavior.
Types of changes
Tweak (non-breaking change to improve existing functionality)
Checklist:
[x] The code has been tested.
[x] All commit messages are properly formatted and commits squashed where appropriate.
[x] I have included updates to all appropriate documentation.
Description
Noticed a possible scenario where some data wasn't freed when creating a source via osn::Input::Create fails, the values in question aren't freed when obs_source_create fails
Motivation and Context
Technically a memory leak
How Has This Been Tested?
Compiled and launched Streamlabs Desktop with change, added sources and saw no difference in behavior.
Types of changes
Checklist: