[couchdb-glib] Comment the json_object_unref calls, since for some unknown (yet) reason, it crashes if it does so



commit 870e2ca4c0bd59668d4e08abe29debe492046aed
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Wed Jun 24 14:30:42 2009 +0200

    Comment the json_object_unref calls, since for some unknown (yet) reason, it crashes if it does so

 couchdb-glib/couchdb-document-contact.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/couchdb-glib/couchdb-document-contact.c b/couchdb-glib/couchdb-document-contact.c
index a7a6234..9c21834 100644
--- a/couchdb-glib/couchdb-document-contact.c
+++ b/couchdb-glib/couchdb-document-contact.c
@@ -154,12 +154,12 @@ couchdb_document_contact_set_email_addresses (CouchDBDocument *document, GSList
 						       couchdb_document_contact_email_get_description (sf));
 
 			json_object_set_object_member (addresses_json, address_str, this_address);
-			json_object_unref (this_address);
+			/* FIXME: crashes if we _unref json_object_unref (this_address); */
 		}
 	}
 
 	json_object_set_object_member (json_node_get_object (document->root_node), "email_addresses", addresses_json);
-	json_object_unref (addresses_json);
+	/* FIXME: crashes if we _unref json_object_unref (addresses_json); */
 }
 
 GSList *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]