Task #96752 - added.err
back to task #96752download
Error: GCC_ANALYZER_WARNING (CWE-401):
avahi-0.9.rc3/avahi-daemon/ini-file-parser.c: scope_hint: In function ‘avahi_ini_list_confd_files_sorted’
avahi-0.9.rc3/avahi-daemon/ini-file-parser.c:80:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
# 78| }
# 79|
# 80|-> filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
# 81|
# 82| while ((dentry = readdir(dir)) != NULL) {
Error: GCC_ANALYZER_WARNING (CWE-401):
avahi-0.9.rc3/avahi-daemon/ini-file-parser.c:82:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(confd_path)’
# 80| filelist = avahi_malloc0(AVAHI_INI_CONFD_MAX_FILES * sizeof(char *));
# 81|
# 82|-> while ((dentry = readdir(dir)) != NULL) {
# 83| regex_ret = regexec(®ex, dentry->d_name, 0, NULL, 0);
# 84| if (regex_ret == 0) {