at-spi r983 - in trunk: . libspi
- From: liyuan svn gnome org
- To: svn-commits-list gnome org
- Subject: at-spi r983 - in trunk: . libspi
- Date: Tue, 19 Feb 2008 10:06:31 +0000 (GMT)
Author: liyuan
Date: Tue Feb 19 10:06:31 2008
New Revision: 983
URL: http://svn.gnome.org/viewvc/at-spi?rev=983&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/libspi/collection.c
Modified: trunk/libspi/collection.c
==============================================================================
--- trunk/libspi/collection.c (original)
+++ trunk/libspi/collection.c Tue Feb 19 10:06:31 2008
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]