Jeremy Gebben 093c26a745 libgralloc: don't IonAlloc::close_device() on error
It is possible to use this object from multiple threads
and there could be a race between a failure in one thread
and another method call from a different thread which would
result in system calls being called with an invalid fd.

(cherry picked from commit 560ca6e8feb4f52c9aade34fa7cfcfed55288083)

Change-Id: Iefb94ba1ee7177ab20600bee4374daf8e818bdb9
2012-03-16 20:43:04 -05:00
..
2011-11-16 13:43:12 -08:00
2011-11-16 13:43:12 -08:00
2011-11-16 13:43:12 -08:00
2011-11-16 13:43:12 -08:00
2011-11-16 13:43:12 -08:00