Check to make sure that clipboard_selection is non-NULL before we
2001-06-25 Joe Shaw <joe@ximian.com> * folder-browser.c (invisible_destroyed): Check to make sure that clipboard_selection is non-NULL before we g_byte_array_free() it. svn path=/trunk/; revision=10495
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2001-06-25 Joe Shaw <joe@ximian.com>
|
||||
|
||||
* folder-browser.c (invisible_destroyed): Check to make sure that
|
||||
clipboard_selection is non-NULL before we g_byte_array_free() it.
|
||||
|
||||
2001-06-25 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* mail-send-recv.c (free_send_data): sync folders after we've
|
||||
|
||||
@ -92,8 +92,10 @@ static guint folder_browser_signals [LAST_SIGNAL] = {0, };
|
||||
static void
|
||||
invisible_destroyed (GtkObject *invisible)
|
||||
{
|
||||
g_byte_array_free (clipboard_selection, TRUE);
|
||||
clipboard_selection = NULL;
|
||||
if (clipboard_selection) {
|
||||
g_byte_array_free (clipboard_selection, TRUE);
|
||||
clipboard_selection = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user