vibrator: Add strdup() usage handling code 70/305670/1 accepted/tizen/unified/20240208.163953 accepted/tizen/unified/toolchain/20240311.065603 accepted/tizen/unified/x/20240214.051939
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 6 Feb 2024 06:06:41 +0000 (15:06 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 6 Feb 2024 06:10:35 +0000 (15:10 +0900)
commit4152694f1e0788ae7f74d2c799482ae88489daca
tree108b844fb56eaa7e17132244c1c16e2955934fad
parent4fec93587ad289105225d6b3e77685028717ed63
vibrator: Add strdup() usage handling code

When the strdup() returns NULL, it should be handled properly.

Change-Id: I0f9639b47e804d7d8d2b11826a5227e22c1f95ff
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/vibrator.c