Because we don't really care about the destructors most of the time.
I was looking for something else when I realize what was happening
over there.
Same as the trylock one. You see magic is still possible :):)
george.
On May 18, 2006, at 1:47 PM, Jeff Squyres ((jsquyres)) wrote:
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
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel