aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-10-16 03:33:37 +0800
committerChris Toshok <toshok@src.gnome.org>2001-10-16 03:33:37 +0800
commit16edd7e0998d823adc06d1c1d8aae94dc12727bd (patch)
tree69c742628b64b680830a6b782a4ff09663cee268
parent3ac3a15e3ccad3b7eb27f9f1db172effa951b554 (diff)
downloadgsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar.gz
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar.bz2
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar.lz
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar.xz
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.tar.zst
gsoc2013-evolution-16edd7e0998d823adc06d1c1d8aae94dc12727bd.zip
make sure to unref the book_view here so we don't leak them.
2001-10-15 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_get_book_view): make sure to unref the book_view here so we don't leak them. svn path=/trunk/; revision=13680
-rw-r--r--addressbook/ChangeLog11
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c5
2 files changed, 15 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 815284871e..9dfd5c6717 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,14 @@
+2001-10-15 Chris Toshok <toshok@ximian.com>
+
+ * backend/pas/pas-backend-ldap.c
+ (pas_backend_ldap_process_get_book_view): make sure to unref the
+ book_view here so we don't leak them.
+
+2001-10-12 Chris Toshok <toshok@ximian.com>
+
+ * gui/component/addressbook-factory.c (main): call
+ e_passwords_init and e_passwords_shutdown.
+
2001-10-15 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (addPropValueQP, addPropValueSets,
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 5cc587f8bd..1a3ab7806b 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -611,7 +611,7 @@ free_mods (GPtrArray *mods)
g_free (mod);
}
- g_ptr_array_free (mods, TRUE /* XXX ? */);
+ g_ptr_array_free (mods, TRUE);
}
static GPtrArray*
@@ -2154,7 +2154,10 @@ pas_backend_ldap_process_get_book_view (PASBackend *backend,
g_free (req->search);
CORBA_exception_init(&ev);
+
+ bonobo_object_unref (BONOBO_OBJECT (book_view));
bonobo_object_release_unref(req->listener, &ev);
+
if (ev._major != CORBA_NO_EXCEPTION) {
g_warning("pas_backend_file_process_get_book_view: Exception reffing "
"corba book.\n");