[vlc-devel] [PATCH] -- memory leak in core

brezhoneg1 brezhoneg1 at yahoo.fr
Sat Jan 2 23:50:46 CET 2010


Hi,

  Any objection to apply the following patch

  It is a memory leak in var_Change (VLC_VAR_SETVALUE option) when
dealing with VLC_VAR_STRING variables.
  The pf_dup (DupString) function should not be called on a variable
passed by the caller.
 (a reference is lost, and the caller trying to free the string actually
directly frees the internal vlc variable)

Erwan10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0025-core-correct-memory-leak.patch
Type: application/octet-stream
Size: 1571 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100102/bb4b8a5b/attachment.obj>


More information about the vlc-devel mailing list