gralloc: Add missing va_end()

Add missing va_end() and additionally extra protection in the
deconstructor in case of use after free.

Bug: 30483149
Change-Id: Ib28c6312b67654e19d89c7b9acf03f26a8640ad3
2 files changed
tree: 5e13c15f8b2a3b740a2e8768ffa029e8ca707f18
  1. msm8084/
  2. msm8226/
  3. msm8909/
  4. msm8960/
  5. msm8994/
  6. msm8996/
  7. Android.mk