pipe_loader/sw: close dev->lib when initialization fails
authorAaron Watry <awatry@gmail.com>
Fri, 8 Nov 2013 19:45:05 +0000 (13:45 -0600)
committerAaron Watry <awatry@gmail.com>
Mon, 23 Dec 2013 13:24:50 +0000 (07:24 -0600)
commita7653c19a3b1adae162864587a7ab1c17ab256e6
tree29a924ff567e197ccc47efe42acfa09cec52d865
parent862f55c29c50798942e58ea75c5294921c0489f8
pipe_loader/sw: close dev->lib when initialization fails

Prevents a memory leak.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
CC: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c