Use strdup() wrapper 87/307087/1 accepted/tizen/unified/20240320.110719 accepted/tizen/unified/20240320.151942 accepted/tizen/unified/dev/20240620.010023 accepted/tizen/unified/x/20240326.073046
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 14:47:59 +0000 (15:47 +0100)
commit9e5c7fe2073536a9edfb9a6c1cf0d2afa824b5ac
tree5bc5438821c550c24499fdb5a77621f6e360f021
parent7e4830f2831239ca0d64221796be1c1e9d96f498
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
src/e_dispatch_key_event.c