lavf/ffmenc: fix memleak in ffm_write_header
authorJames Almer <jamrial@gmail.com>
Tue, 18 Nov 2014 06:12:38 +0000 (03:12 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 18 Nov 2014 16:45:24 +0000 (13:45 -0300)
commitbccae39072c4bf2cf20d52900fecbf9c71de9b7e
tree9d11ac465ce6ce159b2ed370ce74ab7beb108440
parent43c1d82b86b2c05061862b4e9f4a64ec1c8a6975
lavf/ffmenc: fix memleak in ffm_write_header

Regression since 745730c9c208c40f800d5d71ffa39aceab6ce044.
The dynamic buffer was not being used or freed.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/ffmenc.c