shared/util: Fix runtime error
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 27 Apr 2023 19:02:52 +0000 (12:02 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:41:34 +0000 (16:11 +0530)
commitffc3ca425149d6928d648566b87d59a9152a1f7a
tree9f7dd9a4e98e62cd6405440d844ba953fa323dbd
parentac3aa96a2bcdc51ef4467100cf6edd08c9eeed4f
shared/util: Fix runtime error

This fixes the following errors:

src/shared/util.c:271:2: runtime error: null pointer passed as argument
2, which is declared to never be null
src/shared/util.c