main: create_buffers unlocks mutex when throwing OUT_OF_MEMORY.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 1 Apr 2015 18:18:32 +0000 (11:18 -0700)
committerLaura Ekstrand <laura@jlekstrand.net>
Wed, 1 Apr 2015 19:07:28 +0000 (12:07 -0700)
commit142909f19ddeae7237acbb98b47e9228533e58f0
treebf073f42194cdb2444a923e9219251f59ca57915
parent3321724c10e2c9c5cd8f84bafb26678c6d1108b5
main: create_buffers unlocks mutex when throwing OUT_OF_MEMORY.

Ilia Mirkin found that I had forgotten to free the mutex in the error case.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/bufferobj.c