keyrouter: Properly test for allocation failure 13/278213/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 8 Jun 2022 07:25:42 +0000 (16:25 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:58:54 +0000 (14:58 +0900)
commit5af8f0152be3f2aaf5543e8c3098d1e6014c2638
tree2903cdb19710baeae74bbd9361663e11e8843860
parent042d6232f4fa4c05c7e0950609c3c5a2525f5b04
keyrouter: Properly test for allocation failure

Instead of testing the return of the function just called, it was
testing something already checked earlier.

Change-Id: Ibaa7884360afaa195d843bc90588e3af85caf0d0
src/keyrouter/keyrouter_grab.c