This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2066] New: missing free() in intl/l10nflist.c


In function _nl_make_l10nflist() starting from 268:   
   
  retval = (struct loaded_l10nfile *)   
    malloc (sizeof (*retval) + (__argz_count (dirlist, dirlist_len)   
				* (1 << pop (mask))   
				* sizeof (struct loaded_l10nfile *)));   
  if (retval == NULL)   
    return NULL;   
   
For this case I do not see how abs_filename is free()d.

-- 
           Summary: missing free() in intl/l10nflist.c
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: heiko dot nardmann at secunet dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2066

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]