SvgLoader: Add null check
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 4 Sep 2020 04:56:24 +0000 (13:56 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 4 Sep 2020 07:05:03 +0000 (16:05 +0900)
commitc3d9ef28d70e6d9e715873559d729b991c6af810
tree184971a86c8a6ee6f9d7c17581a1038ba36d841d
parent91d5fd26917f0c132a55e54c42df4333f1498fba
SvgLoader: Add null check

Since the pointer actually used inside the if condition is loader->def,
add a null check for this.

Change-Id: I5578553fcfef42b04d02bb0c6de012e5e0f586f2
src/loaders/svg/tvgSvgLoader.cpp