[FFmpeg-devel] Patch solving resource leak in drawtext border

Michael Niedermayer michaelni at gmx.at
Thu Jul 3 15:45:54 CEST 2014

On Wed, Jul 02, 2014 at 10:10:30AM -0300, Leandro Santiago wrote:
> There's a resource leak in drawtext filter where the border glyph is not
> freed after being used.
> I'm sending as an attachment both test program which reproduces the leak
> (vf_drawtext.c:311, acording to Valgrind) and a patch which fixes it.
> The test program is essentially the filtering_test.c included in ffmpeg
> source tree, but requires a font-file Arial.ttf in the current directory.

patch applied



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- 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/20140703/caede0db/attachment.asc>

More information about the ffmpeg-devel mailing list