Use strdup() wrapper 90/307090/1
authorArtur Świgoń <a.swigon@samsung.com>
Mon, 4 Mar 2024 14:47:56 +0000 (15:47 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Mon, 4 Mar 2024 15:26:08 +0000 (15:26 +0000)
commitfe58fc1804feec5584c7e8b6094e0e420aa46301
tree5bc5438821c550c24499fdb5a77621f6e360f021
parentfbfc8f4232c551f5615c0da72194bd89b2509bdf
Use strdup() wrapper

The wrapper can be used to gracefully accept a null argument and
guarantee a non-null return value, and not have to pollute the code with
null checks.

Change-Id: I46ebe4151787e72e2df0dfea247294e47ba72abf
(cherry picked from commit 9e5c7fe2073536a9edfb9a6c1cf0d2afa824b5ac)
src/e_dispatch_key_event.c