summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-13 12:12:22 +0100
committerwm4 <wm4@nowhere>2017-02-13 13:12:29 +0100
commit34b7d523173a0db0f04fa6904f816e0033662802 (patch)
tree89b58e4c01f61deee7c7af8d6cb50f00df429917 /options/options.c
parenta779ce6eac1a43954b37889f5368ee2cead12a1d (diff)
downloadmpv-34b7d523173a0db0f04fa6904f816e0033662802.tar.bz2
mpv-34b7d523173a0db0f04fa6904f816e0033662802.tar.xz
lavfi: fix minor memory leak
The AVFrame in the tmp_frame field was never actually deallocated. Since this AVFrame holds data temporarily only, and is unreferenced immediately after use, there is actually no need to make it per-pad, so simplify it a bit. (There's also no real value in caching this tmp_frame at all, but I guess it makes the control flow slightly simpler.)
Diffstat (limited to 'options/options.c')
0 files changed, 0 insertions, 0 deletions