gallium/util: change assertion to conditional in util_bitmask_destroy()
authorBrian Paul <brianp@vmware.com>
Tue, 3 May 2016 21:07:56 +0000 (15:07 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 3 May 2016 21:40:49 +0000 (15:40 -0600)
commitef5a31fc06d58ad655fd6b71ed3e939147e67108
tree85d7d5ff9de12a27c8cd3453ed4d11844da218a8
parent68116dcd5a05508af06cd41ca14faab1b910a934
gallium/util: change assertion to conditional in util_bitmask_destroy()

If we fail to create a context in the VMware driver we call this function
unconditionally to free a bunch of bit vectors.  Instead of asserting on
a null pointer, just no-op.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_bitmask.c