i-rinat / libvdpau-va-gl

VDPAU driver with OpenGL/VAAPI backend
MIT License
161 stars 26 forks source link

3rdparty: Fix memory leak resulting from libva #72

Closed zenon8adams closed 4 months ago

zenon8adams commented 4 months ago

vaTerminate has to be called even if the initialization of libva fails as it still allocates resources that have to be cleaned up in the terminate function.

i-rinat commented 4 months ago

Thanks for the patch!