loader: fix memory leak in loader_dri3_open
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>
Sat, 30 Jul 2016 00:31:10 +0000 (02:31 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 3 Aug 2016 17:25:09 +0000 (10:25 -0700)
commitfd32868590c7cbc5c6c2b3d59ff66694de3864b8
tree4c65a57867f7cf270fa901af2fed62e0efe82be2
parenta0671d67def9e83ae511f758091b87d4ac34bea4
loader: fix memory leak in loader_dri3_open

Found via "valgrind --leak-check=full glxgears".

Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b@gmail.com>
Acked-by: Boyan Ding <boyan.j.ding@gmail.com>
Cc: "12.0 11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/loader/loader_dri3_helper.c