wgl: use correct dtor in wgl_window_priv_create error path
commit051f976689fc2fb607a8ecbe03b6da910666ac74
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 12 Aug 2014 15:31:21 +0000 (12 16:31 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 9 Nov 2014 22:44:09 +0000 (9 22:44 +0000)
tree92e0a85dbfd3896d2b474922712f9e110192c9f5
parent1576a17f9a67f4e238911b34bcabf0db1773b6c4
wgl: use correct dtor in wgl_window_priv_create error path

This is the private ctor, as such use the private dtor if we fail at any
point. Noticed while casing wgl_window_destroy() related bug in piglit.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/waffle/wgl/wgl_window.c