[PATCH] d3d9: Fix memory leak in device_init() (Coverity).