On Mon Aug 7 08:35:52 2023 +0000, Rémi Bernon wrote:
Now that the filter string is kept on the object, you should probably also call `WindowsDuplicateString` in `device_statics2_CreateWatcher`. And you need to call `WindowsDeleteString` in `device_watcher_Release`.
I thought I did add `WindowsDeleteString`. I wasn't sure if adding `WindowsDuplicateString` to `device_statics2_CreateWatcher` should be in the same commit or not. I added it in a new commit.
Thanks for the review.