GLSpectrum: fix memory leak (cid #1100858)
Fix use of unitialized value
Lua: Fix memory leak (cid #1100856)
avi: remove dead code (cid #1100855)
Cosmetics (and help static analyzers)
zip: fix memory leak (cid #1062581)
avcodec: release block on flushing if we are not using it