ecore_x: No need to free NULL value.
authorAmitesh Singh <amitesh.sh@samsung.com>
Mon, 22 Sep 2014 17:42:36 +0000 (13:42 -0400)
committerChris Michael <cp.michael@samsung.com>
Mon, 22 Sep 2014 17:43:10 +0000 (13:43 -0400)
commit7a02b1057324cdc8665e0672369d624a4cf2c49a
treefe6205401f8ce651482291fa02da1d17fe3a0211
parentc51dbe3a2cb2f8fb8745bb8eb05834ba7e90243f
ecore_x: No need to free NULL value.

NB: This reintroduces the Coverity Resouce Leak detected with CID1039276

Summary:
When ecore_x_window_prop_property_get returns 0, data is already NULL hence
no need to free NULL value. This fault was introduced in 45a2296218b0f297
while fixing coverity defects.

Reviewers: seoz, cedric, raster, devilhorns

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D1473
src/lib/ecore_x/xlib/ecore_x_dnd.c