How on earth did this one live for so long?
> -----Original Message----- > From: svn-full-boun...@open-mpi.org > [mailto:svn-full-boun...@open-mpi.org] On Behalf Of bosi...@osl.iu.edu > Sent: Thursday, May 18, 2006 12:22 PM > To: svn-f...@open-mpi.org > 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-f...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/svn-full >