Fix memleak reported by Coverity: If we error out because we have a
authorChris Michael <cp.michael@samsung.com>
Mon, 8 Jul 2013 10:34:58 +0000 (11:34 +0100)
committerChris Michael <cp.michael@samsung.com>
Mon, 8 Jul 2013 10:34:58 +0000 (11:34 +0100)
commite28f298dbd42cf08c843f4bbcf4bf1fb1fdad884
tree37ef0153b390da12a93c41826e9df1a474504a9d
parentb72e694573985997ad4b83a882b71c6d5cb3cb42
Fix memleak reported by Coverity: If we error out because we have a
hash with no key, then free the previously allocated data_stream.

NB: Fixes Coverity CID1039262

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