gallium/u_slab: fix possible crash in util_slab_destroy
authorMarek Olšák <maraeo@gmail.com>
Tue, 21 Feb 2012 17:40:11 +0000 (18:40 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 23 Feb 2012 19:29:55 +0000 (20:29 +0100)
commit99d5c1a13b97b9133a166c00c9fba1bec5f4bd9e
tree45aae5ba629e0743ee8ee5d87ea42ff1f123f503
parent6a94c9dde0d62b5ccfcbe3dbafdadeab37fd48a6
gallium/u_slab: fix possible crash in util_slab_destroy

It may happen if util_slab_create has not been called.

Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/auxiliary/util/u_slab.c