[vlc-devel] RE : [PATCH] -- core(update.c) : correct object release misplaced and memory leaks

Rémi Denis-Courmont remi at remlab.net
Mon Aug 3 15:46:04 CEST 2009

On Mon, 3 Aug 2009 15:25:14 +0200, Rafaël Carré <rafael.carre at gmail.com>
> I assume vlc_thread_join is not needed since the thread returns, but
> there are other problems like courmisch pointed out

Any thread that is created MUST be joined or detached EXACTLY once.

It is totally irrelevant whether the thread returns, is canceled, exits or
not. The resources of an attached thread are released when joining, _not_
when the thread terminates.

Rémi Denis-Courmont

More information about the vlc-devel mailing list