Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Jeff Squyres \(jsquyres\) (jsquyres_at_[hidden])
Date: 2006-05-18 13:47:11


How on earth did this one live for so long?
 

> -----Original Message-----
> From: svn-full-bounces_at_[hidden]
> [mailto:svn-full-bounces_at_[hidden]] On Behalf Of bosilca_at_[hidden]
> Sent: Thursday, May 18, 2006 12:22 PM
> To: svn-full_at_[hidden]
> Subject: [OMPI svn-full] svn:open-mpi r9969
>
> Author: bosilca
> Date: 2006-05-18 12:21:29 EDT (Thu, 18 May 2006)
> New Revision: 9969
>
> Modified:
> trunk/opal/class/opal_object.c
>
> Log:
> There should be one gap between the constructors and the
> destructors, otherwise
> the last constructor will be set to NULL overwriting the
> first destructor. This
> prevent us from calling the destructors on some classes.
>
>
> Modified: trunk/opal/class/opal_object.c
> ==============================================================
> ================
> --- trunk/opal/class/opal_object.c (original)
> +++ trunk/opal/class/opal_object.c 2006-05-18 12:21:29 EDT
> (Thu, 18 May 2006)
> @@ -112,7 +112,7 @@
> perror("Out of memory");
> exit(-1);
> }
> - cls->cls_destruct_array = cls->cls_construct_array +
> cls->cls_depth;
> + cls->cls_destruct_array = cls->cls_construct_array +
> cls->cls_depth + 1;
> cls_construct_array = cls->cls_construct_array;
> cls_destruct_array = cls->cls_destruct_array;
>
> _______________________________________________
> svn-full mailing list
> svn-full_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full
>