aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-shortcuts.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-corba-shortcuts.c')
-rw-r--r--shell/e-corba-shortcuts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/e-corba-shortcuts.c b/shell/e-corba-shortcuts.c
index 54181d803c..076b49d796 100644
--- a/shell/e-corba-shortcuts.c
+++ b/shell/e-corba-shortcuts.c
@@ -80,8 +80,7 @@ shortcut_list_to_corba (const GSList *shortcut_list,
buffer[i].type = CORBA_string_dup (e_safe_corba_string (item->type));
}
- if (buffer) /* if we have 0 shortcuts, buffer = NULL */
- CORBA_sequence_set_release (buffer, TRUE);
+ CORBA_sequence_set_release (shortcut_list_return, TRUE);
}