pipe-loader: destroy sw_winsys on sw_release
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 10 Feb 2014 20:03:19 +0000 (20:03 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 22 Feb 2014 03:26:28 +0000 (03:26 +0000)
commited092a8e1f7006a57031299c5429a5952e5602e2
treea24f4dea77d166ceb00fc5ca5829b77a6f474a2f
parent636ac989b2ef4ada8239a49521cf37be2fa81c0c
pipe-loader: destroy sw_winsys on sw_release

The sw pipe-loader implicitly handles winsys_create, thus we
it would make sense to implicitly destroy it upon releasing
the loader.

Currently we leak the sw_winsys when releasing the pipe-loader.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c