vaapi-recorder: Don't leak fd on thread error path
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 9 Oct 2013 20:48:09 +0000 (13:48 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 10 Oct 2013 23:50:18 +0000 (16:50 -0700)
commita2e20c369bf7cfed45eaeb0dd1fcca62526c1797
tree7f217f786e65f3289ca5edff3d0846190178aed7
parent3b7d841b7e3107d720324444a117905e04925500
vaapi-recorder: Don't leak fd on thread error path

If we successfully open the file but fail to create the thread we
leak the fd.
src/vaapi-recorder.c