vulkan/wsi: Fix resource leak in success path of wsi_queue_init()
authorGwan-gyeong Mun <elongbug@gmail.com>
Fri, 25 Nov 2016 14:39:04 +0000 (23:39 +0900)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 28 Nov 2016 21:11:25 +0000 (21:11 +0000)
commit65ea559465df527d8a2998380c7eb2554780a2ba
tree161351c686a9ded940e4c02bdaec1b8753beca1b
parentb178652b41410483dcd82aba495eab6bc892ab15
vulkan/wsi: Fix resource leak in success path of wsi_queue_init()

It fixes leakage of pthread_condattr resource on wsi_queue_init()

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/vulkan/wsi/wsi_common_queue.h