bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible leak in elf/dl_open.c


From: Ulrich Drepper
Subject: Re: possible leak in elf/dl_open.c
Date: 07 Dec 2001 22:48:16 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (asparagus)

Michael Meeks <address@hidden> writes:

> -      memory allocated for it.  */
> -      local_errstring = strdupa (errstring);
> -      free (errstring);
> 
>       /* Reraise the error.  */
> -      _dl_signal_error (errcode, NULL, local_errstring);
> +      _dl_signal_error (errcode, NULL, errstring);

Have you even looked at what strdupa() does?  If anything you added a
memory leak.  Unless you can provide a test case I assume you are
hunting phantoms.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]