From 84130e92eb0c11826c3b66359a152d6fab341234 Mon Sep 17 00:00:00 2001 From: liyuan Date: Tue, 19 Feb 2008 10:06:31 +0000 Subject: [PATCH] 2008-02-19 Li Yuan Patch from Scott Haeger * 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 --- ChangeLog | 6 ++++++ libspi/collection.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 491d9a4..6e41aad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-19 Li Yuan + + Patch from Scott Haeger + * libspi/collection.c: (impl_freeMatchRule): + Bug #517250. Clear spimatchrule->_mrp when free match rule. + 2008-01-14 Li Yuan * NEWS: diff --git a/libspi/collection.c b/libspi/collection.c index 2886e45..6b95fa9 100644 --- a/libspi/collection.c +++ b/libspi/collection.c @@ -154,14 +154,14 @@ static void impl_freeMatchRule (PortableServer_Servant servant, 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; } -- 2.7.4