[Nautilus-list] [PATCH] gnome-vfs - CORBA_string_dup() so CORBA_free() won't crash



Hi guys,

here's a small patch for the CORBA backend of gnome-vfs.

Attachment: diff
Description: Binary data

The problem was that CORBA_free (result_list) also CORBA_free()'s the
p->name, p->symlink_name and p->mime_type fields - so we need to use
ORBit's alloc to allocate them (otherwise CORBA_free() will bail out
with some 0xdeadbeef assertion failed).

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]