st/mesa: Fix inversed test in st_api_destroy_drawable
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 27 Jul 2017 02:12:24 +0000 (11:12 +0900)
committerMichel Dänzer <michel@daenzer.net>
Thu, 27 Jul 2017 02:12:24 +0000 (11:12 +0900)
commit57132d126f2e129fc2959dcc2c0a8126389d07ba
tree6af19677d4280c9f3ae77feef99855c89a71c8bd
parente77ff11ffe1a52b8e17a847f263746c849db3f11
st/mesa: Fix inversed test in st_api_destroy_drawable

Fixes a drawable leak.

Fixes: bbc29393d3be ("st/mesa: create framebuffer iface hash table per
                      st manager")
Bugzilla: https://bugs.freedesktop.org/101930
Tested-by: Nick Sarnie <commendsarnex@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_manager.c