Example #1
0
void
done_download_display(struct file_download *file_download)
{
	if (file_download->box_item) {
		done_listbox_item(&download_browser, file_download->box_item);
		file_download->box_item = NULL;
	}
}
Example #2
0
File: auth.c Project: Efreak/elinks
static void
done_auth_entry(struct auth_entry *entry)
{
	if (entry->box_item)
		done_listbox_item(&auth_browser, entry->box_item);
	done_uri(entry->uri);
	mem_free_if(entry->realm);
	mem_free_if(entry->nonce);
	mem_free_if(entry->opaque);
	mem_free(entry);
}
Example #3
0
void done_auth_entry( struct auth_entry *entry )
{
  if ( entry->box_item )
    done_listbox_item( &auth_browser, entry->box_item );
  done_uri( entry->uri );
{
  void *p = (void*)entry->realm;
  if ( entry->realm )
    mem_free( &((int*)p)[0] );
{
  void *p = (void*)entry->nonce;
  if ( entry->nonce )
    mem_free( &((int*)p)[0] );
{
  void *p = (void*)entry->opaque;
  if ( entry->opaque )
    mem_free( &((int*)p)[0] );
  mem_free( (void*)entry[0].next );
  return;
}
}
}
}