kmodloader: fix GCC fanalyzer warnings
authorRosen Penev <rosenp@gmail.com>
Mon, 18 Jul 2022 22:12:38 +0000 (15:12 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 16:51:07 +0000 (18:51 +0200)
commit4c7b720b9c63b826fb9404e454ae54f2ef5649d5
tree61b6e6415a0bf3dd0008a413b7c7a1a9c1e916d9
parentfa6cb9a3810f5e609e2f11cd8e0a474f58a990c5
kmodloader: fix GCC fanalyzer warnings

memory leaks and missing NULL checks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
kmodloader.c