aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-simple-card-bonobo.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/select-names/e-simple-card-bonobo.c')
-rw-r--r--addressbook/gui/component/select-names/e-simple-card-bonobo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/component/select-names/e-simple-card-bonobo.c b/addressbook/gui/component/select-names/e-simple-card-bonobo.c
index 0577daa648..07203618b3 100644
--- a/addressbook/gui/component/select-names/e-simple-card-bonobo.c
+++ b/addressbook/gui/component/select-names/e-simple-card-bonobo.c
@@ -100,7 +100,7 @@ impl_SimpleCard_get (PortableServer_Servant servant,
if (priv->card_simple) {
char *value = e_card_simple_get (priv->card_simple,
field);
- char *ret_val = CORBA_string_dup (value);
+ char *ret_val = CORBA_string_dup (value ? value : "");
g_free (value);
return ret_val;
} else {