Index: /issm/trunk/src/c/objects/Hook.cpp
===================================================================
--- /issm/trunk/src/c/objects/Hook.cpp	(revision 5340)
+++ /issm/trunk/src/c/objects/Hook.cpp	(revision 5341)
@@ -187,4 +187,10 @@
 	}
 	else{
+		/*Some checks in debugging mode*/
+		/*{{{2*/
+		ISSMASSERT(this->ids);
+		ISSMASSERT(this->offsets);
+		/*}}}*/
+
 		this->ids=(int*)xmalloc(num*sizeof(int));
 		this->offsets=(int*)xmalloc(num*sizeof(int));
Index: /issm/trunk/src/c/objects/Loads/Riftfront.cpp
===================================================================
--- /issm/trunk/src/c/objects/Loads/Riftfront.cpp	(revision 5340)
+++ /issm/trunk/src/c/objects/Loads/Riftfront.cpp	(revision 5341)
@@ -257,7 +257,7 @@
 
 	/*demarshall hooks: */
-	hnodes=new Hook(); hnodes->Demarshall(&marshalled_dataset);
+	hnodes=new Hook();    hnodes->Demarshall(&marshalled_dataset);
 	helements=new Hook(); helements->Demarshall(&marshalled_dataset);
-	hmatpar=new Hook(); hmatpar->Demarshall(&marshalled_dataset);
+	hmatpar=new Hook();   hmatpar->Demarshall(&marshalled_dataset);
 	
 	/*demarshall inputs: */
