[vlc-devel] commit: Fix memory leak (CID 92) ( Rémi Denis-Courmont )
Rafaël Carré
funman at videolan.org
Mon Jun 2 21:36:17 CEST 2008
Le Mon, 2 Jun 2008 13:01:46 +0200,
"Marnik Vander Elst" <marnik.vander.elst at gmail.com> a écrit :
> Might be a silly question, but why the goto instead of just freeing
> before the return NULL (in each block)? I know code duplication isn't
> a good idea, but neither is goto afaik. Please enlighten me :)
goto is the lightest solution
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080602/3d89e627/attachment.sig>
More information about the vlc-devel
mailing list