On Fri Aug 26 12:10:08 2022 +0000, Bernhard K��lbl wrote:
Release here in reverse order:
IDeviceInformationStatics2_Release(device_info_statics2); skip_statics2: IInspectable_Release(inspectable2); IInspectable_Release(inspectable);
And maybe add a ref check to the last release. (Yeah yeah, me and ref checks, haha)
With that goto, wouldn't the inspectable2 release need to be above the label, since we never actually created that inspectable2 until after the skip?