st/dri: Fix memory leak on error path.