From: hojoon-ryou Date: Mon, 17 Mar 2025 11:33:05 +0000 (+0900) Subject: tbm_module: initialize variable namelist. X-Git-Tag: accepted/tizen/unified/x/20250325.213556~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4f0deb7528bff19a602d603245df5c12a9b5e0a;p=platform%2Fcore%2Fuifw%2Flibtbm.git tbm_module: initialize variable namelist. Change-Id: I0fcd66442bff0c5c86eefba04629823d8f1d1f48 Signed-off-by: hojoon-ryou --- 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));