[Content] Prevent crash for null-uuid listener native call
authorPiotr Kosko <p.kosko@samsung.com>
Wed, 16 Sep 2015 12:14:06 +0000 (14:14 +0200)
committerHyunjin Park <hj.na.park@samsung.com>
Thu, 17 Sep 2015 07:39:03 +0000 (16:39 +0900)
commit3a7ff43cda9d5ab0e184c17769791468fbd0b7f3
tree4d2610e9892dc2e82dcff13708e0cd85e375805a
parent203acfa733168ab7872c8dfebb218b3467b48778
[Content] Prevent crash for null-uuid listener native call

[Feature] Added check for not-null-uuid. If null listener native call is ignored.
  Changed way of holding listener data to properly free alocated memory.

[Verification] Code compiles without errors.
  Checked listener  calls when creating new directory via MTP.
  TCT passrate is didn't change.

Change-Id: I3860f731cf84f11ae4e7a6ad2098f94f88662b63
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/content/content_instance.cc
src/content/content_instance.h