diff options
Diffstat (limited to 'mixgtk')
-rw-r--r-- | mixgtk/mixgtk_cmd_dispatcher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mixgtk/mixgtk_cmd_dispatcher.c b/mixgtk/mixgtk_cmd_dispatcher.c index 6b7517a..18f4600 100644 --- a/mixgtk/mixgtk_cmd_dispatcher.c +++ b/mixgtk/mixgtk_cmd_dispatcher.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- mixgtk_cmd_dispatcher.c : * Implementation of the functions declared in mixgtk_cmd_dispatcher.h * ------------------------------------------------------------------ - * $Id: mixgtk_cmd_dispatcher.c,v 1.20 2004/07/10 23:14:42 jao Exp $ + * $Id: mixgtk_cmd_dispatcher.c,v 1.21 2004/07/10 23:34:25 jao Exp $ * ------------------------------------------------------------------ * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. * @@ -454,7 +454,6 @@ complete_command_ (void) gtk_text_view_get_buffer (GTK_TEXT_VIEW (dis_data_.log)); gtk_entry_set_text (entry, prefix); - g_free (prefix); if (g_list_length ((GList *)cmds) > 1) { static gchar BUFFER[25]; @@ -479,6 +478,7 @@ complete_command_ (void) gtk_editable_insert_text (GTK_EDITABLE (entry), " ", 1, &pos); } flush_log_ (&dis_data_); + g_free (prefix); } } |