Check for NULL resource ticket pointer 01/30901/2
authorKevin Butchart <k.butchart@partner.samsung.com>
Wed, 26 Nov 2014 17:50:07 +0000 (17:50 +0000)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Thu, 27 Nov 2014 13:41:24 +0000 (05:41 -0800)
commit0185c0a72d9f6d5125b74aee31c8e35cb16af978
treed5fbef9b40560df3aa21c9950b5d3dac1bd64998
parentd076bf22d536e3e72e5fd95bff201d2368d702da
Check for NULL resource ticket pointer

When reloading resources after context loss, it is possible for
some of the resources to have already been destroyed, but still
be in the map in the image factory. In this case the search
for the ResourceTicket returns a NULL pointer which should be
checked for.

Change-Id: I967e7e07021903ad57d9a1617295bf94f16b53b6
dali/internal/event/images/image-factory.cpp