Re: [spice-gtk v2 9/9] spicy: Fix spice_file_transfer_task_get_filename leak

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

 



On Tue, Aug 02, 2016 at 11:48:50AM +0200, Victor Toso wrote:
> From: Christophe Fergeau <cfergeau@xxxxxxxxxx>
> 
> It was wrongly annotated as (transfer none)
> 
> An alternative would be to store what is returned by
> g_file_get_basename() in SpiceFileTransferTask and return that, this
> would allow to make spice_file_transfer_task_get_filename() (transfer
> none) without leaking memory.

Here I'd mention that doing this would be an API/ABI change

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]