STL: simplify and fix memory leak
dbus: memory leak
atmo: memory leak
lua: do not pass -1 to read/write/recv/send
avformat mux: prevent buffer overrun
http: avoid NULL dereference
puzzle: remove tautology