[FFmpeg-devel] [PATCH 3/4] lavu/opt: explicity set NULL as dict/binary defaults

Michael Niedermayer michaelni at gmx.at
Sat Nov 8 19:18:30 CET 2014

On Sat, Nov 08, 2014 at 06:13:52PM +0100, Lukasz Marek wrote:
> Unless user clears context manually during creation,
> binary and dict pointer may contain random values.

wouldnt the string type in that case free random pointers ?
and wouldnt it be inconsistent not to free dict/binary ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141108/9427a168/attachment.asc>

More information about the ffmpeg-devel mailing list