[sr-dev] git:master:5667377c: core: log an error in mk_name_lst_elem if memory allocation failed