Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jberkman
evolution-data-server-2.6
fix-190355-eds-crasher.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-190355-eds-crasher.diff of Package evolution-data-server-2.6
Index: addressbook/libedata-book/e-data-book-view.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/addressbook/libedata-book/e-data-book-view.c,v retrieving revision 1.13 diff -u -p -r1.13 e-data-book-view.c --- addressbook/libedata-book/e-data-book-view.c 16 Jan 2006 16:36:19 -0000 1.13 +++ addressbook/libedata-book/e-data-book-view.c 10 Jul 2006 08:27:40 -0000 @@ -288,13 +288,19 @@ void e_data_book_view_notify_update_vcard (EDataBookView *book_view, char *vcard) { gboolean currently_in_view, want_in_view; - const char *id; + const char *id = NULL; EContact *contact; g_mutex_lock (book_view->priv->pending_mutex); contact = e_contact_new_from_vcard (vcard); id = e_contact_get_const (contact, E_CONTACT_UID); + if (!id) { + free (vcard); + g_object_unref (contact); + g_mutex_unlock (book_view->priv->pending_mutex); + return; + } currently_in_view = g_hash_table_lookup (book_view->priv->ids, id) != NULL;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor