[Freeciv-Dev] (PR#15092) get_data_dirs() memory leak
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15092 >
> [kauf - So 08. Jan 2006, 02:15:37]:
>
> On Sat, Jan 07, 2006 at 05:57:56PM -0800, Christian Prochaska wrote:
> >
> > in utility/shared.c the function "get_data_dirs" allocates memory for a
> > list of strings, but this memory is never freed.
>
> can or is get_data_dirs() called more than once? Can it be called by a
> user? If the answer to all of these is "no", then I don't see much of
> a problem.
>
> -mike
>
>
>
Ok, I've just learned that "still reachable" reports by valgrind are
nothing to worry about, because the memory will be freed automatically
by the operating system. No problem then.
|
|