From b4f0deb7528bff19a602d603245df5c12a9b5e0a Mon Sep 17 00:00:00 2001 From: hojoon-ryou Date: Mon, 17 Mar 2025 20:33:05 +0900 Subject: [PATCH] tbm_module: initialize variable namelist. Change-Id: I0fcd66442bff0c5c86eefba04629823d8f1d1f48 Signed-off-by: hojoon-ryou --- src/tbm_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbm_module.c b/src/tbm_module.c index 5631766..486bebf 100644 --- a/src/tbm_module.c +++ b/src/tbm_module.c @@ -256,7 +256,7 @@ tbm_module * tbm_module_load(int fd) { tbm_module *module; - struct dirent **namelist; + struct dirent **namelist = NULL; int ret = 0, n; module = calloc(1, sizeof(struct _tbm_module)); -- 2.34.1