Fix missing unlock (reported by Coverity).
authorChris Michael <cp.michael@samsung.com>
Mon, 8 Jul 2013 13:18:06 +0000 (14:18 +0100)
committerChris Michael <cp.michael@samsung.com>
Mon, 8 Jul 2013 13:18:06 +0000 (14:18 +0100)
commit3891bdcb15455e4482b75cb0d60d8e69e101d1c2
tree60f6504af8ff33163247772fef8b48cc6ba96bc0
parenta9d0f3a9198bd1bcd8ae415f585c2ca30335231d
Fix missing unlock (reported by Coverity).
  - Instead of just returning NULL, use the existing goto on_error to
handle the unlock and return NULL.

NB: Fixes Coverity CID1039383

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/eet/eet_lib.c