Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] potential memory leak in mpi_type_create_struct_f()?
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-07-23 07:13:31


Be very, very careful here -- you might be inadvertantly volunteering to become a co-Fortran maintainer! ;-)

Good catch. Can you commit a fix? I assume this needs to go to both v1.4 and v1.5.

On Jul 23, 2010, at 7:13 AM, nadia.derbey wrote:

> Hi,
>
> In ompi/mpi/f77/type_create_struct_f.c, routine
> mpi_type_create_struct_f() mallocates c_type_old_array, but never frees
> it.
>
> Regards,
> Nadia
>
> --
> nadia.derbey <Nadia.Derbey_at_[hidden]>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/