wasapi, wasapi2: Fix memory issues
wasapi: Fix alloc/free function mismatch
... and fix leak in wasapi device provider
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3326
wasapi2: Fix task memory leak
wasapi: Fix alloc/free function mismatch
... and fix leak in wasapi device provider
Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3326
wasapi2: Fix task memory leak