When calling XOpenDisplay in vaInitialize, then also call XCloseDisplay in vaTerminate.
Attach a file by drag & drop or click to upload