avcodec/tiff: Avoid loosing allocated geotag values
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 18:39:21 +0000 (20:39 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commit05d7c10fd30feff01802b8a14ed1443ff13e32a3
tree211acbb6a7c12d38ac034eda271717c04c392b01
parentdbe771e50de5db0d4d23e6df5e0469bb43611a3a
avcodec/tiff: Avoid loosing allocated geotag values

Fixes memleak
Fixes: 2076/clusterfuzz-testcase-minimized-6542640243802112

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d7cbeab4c1381f95ed0ebf85d7950bee96f66164)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/tiff.c