diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/addr_compl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addr_compl.c b/src/addr_compl.c index 73a5e804..bc2e4817 100644 --- a/src/addr_compl.c +++ b/src/addr_compl.c @@ -174,7 +174,7 @@ static gint add_address(const gchar *name, const gchar *address, const gchar *ni addr_ce = g_new0(completion_entry, 1); ae = g_new0(address_entry, 1); - ae->name = g_strdup(name); + ae->name = g_strdup(name ? name : ""); ae->address = g_strdup(address); if ((found = g_list_find_custom(address_list, ae, address_entry_find_func))) { |