eo_base_class: Avoid useless memory alloc 90/264590/1
authorWoochanlee <wc0917.lee@samsung.com>
Thu, 24 Dec 2020 02:47:03 +0000 (11:47 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 27 Sep 2021 03:21:05 +0000 (12:21 +0900)
commit7054d8c9f1384e02ed63e0439271922e8ca1e5b8
tree65c3117282cde162c396065a8fad1c8fa3aba3e7
parent7bf892ddb12973d64e26e3181a5e77f751f2bd9e
eo_base_class: Avoid useless memory alloc

Summary:
The pd->ext will be NULL when the target object on invalidate state or edje object or isolated object etc..

In above case, If data is NULL and ext is not needed, it seems there is no need to create a node.

Reviewers: raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12206

Change-Id: I7000fd4cbf48c0841865483092e5b778602886d1
src/lib/eo/eo_base_class.c