Task #70136 - fixed.err
back to task #70136download
Error: GCC_ANALYZER_WARNING (CWE-401):
crun-HEAD/src/libcrun/container.c:24: included_from: Included from here.
crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_get_features'
crun-HEAD/src/libcrun/utils.h:74:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(144)'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
# 72| {
# 73| void *res = calloc (1, size);
# 74|-> if (UNLIKELY (res == NULL))
# 75| OOM ();
# 76| return res;