Index: /issm/trunk/src/c/Container/Nodes.cpp
===================================================================
--- /issm/trunk/src/c/Container/Nodes.cpp	(revision 5785)
+++ /issm/trunk/src/c/Container/Nodes.cpp	(revision 5786)
@@ -108,6 +108,8 @@
 	numnodes=this->NumberOfNodes(analysis_type);
 
-	truedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); //initialize to 0, so that we can pick up the max
-	alltruedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int));
+	if (numnodes*maxdofspernode){
+		truedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int)); //initialize to 0, so that we can pick up the max
+		alltruedofs=(int*)xcalloc(numnodes*maxdofspernode,sizeof(int));
+	}
 
 	for (i=0;i<this->Size();i++){
