diff options
-rw-r--r-- | my-evolution/ChangeLog | 4 | ||||
-rw-r--r-- | my-evolution/e-summary-preferences.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 8282deedd7..b6465ad9a6 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,7 @@ +2001-10-30 Iain Holmes <iain@ximian.com> + + * e-summary-preferences.c (find_name_from_url): Check a for NULL values + 2001-10-29 Damon Chaplin <damon@ximian.com> * Makefile.am (evolution_executive_summary_LDADD): use diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c index e4d781deb2..ea05ae5959 100644 --- a/my-evolution/e-summary-preferences.c +++ b/my-evolution/e-summary-preferences.c @@ -469,6 +469,11 @@ find_name_for_url (PropertyData *pd, for (p = pd->rdf->known; p; p = p->next) { struct _RDFInfo *info = p->data; + + if (info == NULL || info->url == NULL) { + continue; + } + if (strcmp (url, info->url) == 0) { return info->name; } @@ -565,6 +570,8 @@ fill_rdf_all_clist (GtkCList *clist, (GtkDestroyNotify) free_rdf_info); g_strfreev (tokens); } + + fclose (handle); } static void |