Index: libspi/collection.c
===================================================================
--- libspi/collection.c	(revision 982)
+++ libspi/collection.c	(working copy)
@@ -154,14 +154,14 @@
      MatchRulePrivate *mrp;  
 
      spimatchrule = SPI_COLLECTION (object);
-     mrp =  spimatchrule->_mrp;
+     mrp = spimatchrule->_mrp;
      
      CORBA_free (mrp->attributes);
      CORBA_free (mrp->roles);
      CORBA_free (mrp->interfaces);
 
      g_free (mrp);
-
+     spimatchrule->_mrp = NULL;
 }
 
 
