[FFmpeg-devel] [PATCH 3/4] dict.c: Free non-strduped av_dict_set arguments on error.

Michael Niedermayer michaelni at gmx.at
Wed Aug 13 13:57:56 CEST 2014

On Mon, Aug 11, 2014 at 09:17:18PM +0200, Reimar Döffinger wrote:
> Unfortunately this was not explicitly documented and thus
> might be very risky.


maybe a AV_DICT_FREE_ARGS_ON_ERROR could be used, but its not as
convenient as getting the behavior by default

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20140813/8e887604/attachment.asc>

More information about the ffmpeg-devel mailing list