Initialize priv->db and priv->iid so that destroy() won't crash if
* e-shell.c (init): Initialize priv->db and priv->iid so that destroy() won't crash if e_shell_construct bails out before setting them. Reduces bug #4173 to #4169. svn path=/trunk/; revision=11044
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2001-07-12 Dan Winship <danw@ximian.com>
|
||||
|
||||
* e-shell.c (init): Initialize priv->db and priv->iid so that
|
||||
destroy() won't crash if e_shell_construct bails out before
|
||||
setting them. Reduces bug #4173 to #4169.
|
||||
|
||||
2001-07-11 Iain Holmes <iain@ximian.com>
|
||||
|
||||
* importers/intelligent.c (intelligent_importer_init): Sync the config
|
||||
|
||||
@ -745,6 +745,7 @@ init (EShell *shell)
|
||||
|
||||
priv->views = NULL;
|
||||
|
||||
priv->iid = NULL;
|
||||
priv->local_directory = NULL;
|
||||
priv->storage_set = NULL;
|
||||
priv->local_storage = NULL;
|
||||
@ -757,6 +758,7 @@ init (EShell *shell)
|
||||
priv->offline_handler = NULL;
|
||||
priv->crash_type_names = NULL;
|
||||
priv->line_status = E_SHELL_LINE_STATUS_ONLINE;
|
||||
priv->db = CORBA_OBJECT_NIL;
|
||||
|
||||
shell->priv = priv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user