[vlc-devel] commit: Fix memleak (should fix #1081) ( Rémi Duraffort )

Rémi Denis-Courmont rdenis at simphalempin.com
Mon Aug 25 14:30:52 CEST 2008


On Mon, 25 Aug 2008 13:14:33 +0200, "Pierre d'Herbemont"
<pdherbemont at free.fr> wrote:
> It seems that I am the only one to consider that an ideal API should
> preserve *destroy* ownership, unless function name follows an explicit
> convention that says it would not. So don't worry :)

I disagree. When it comes to _buffer_management_, it is quite obvious that
the ownership is transfered to the receiver. It is the only sane way to do
it; the sender does not know when the receiver is done.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list