Patch from Scott Haeger <scott@bashautomation.com>
* libspi/collection.c: (impl_freeMatchRule):
Bug #517250. Clear spimatchrule->_mrp when free match rule.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@983
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+2008-02-19 Li Yuan <li.yuan@sun.com>
+
+ Patch from Scott Haeger <scott@bashautomation.com>
+ * libspi/collection.c: (impl_freeMatchRule):
+ Bug #517250. Clear spimatchrule->_mrp when free match rule.
+
2008-01-14 Li Yuan <li.yuan@sun.com>
* NEWS:
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;
}