gbm/dri: cleanup memory leak on teardown
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Nov 2014 03:45:07 +0000 (03:45 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Nov 2014 18:32:07 +0000 (18:32 +0000)
commitf6432c4d72e17a106e95dab98fabf43a43a501a9
treeac70d47c15e7ef8e015de868fdaabd48d5a54095
parent8ed08e69bca515e6b116d0306390cdd119acc140
gbm/dri: cleanup memory leak on teardown

During teardown we free the driver_configs list pointer, but we forget
to deallocate each config in that list.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-tested-by: Kenneth Graunke <kenneth@whitecape.org>
src/gbm/backends/dri/gbm_dri.c