[FIX]: Possible memleaks
Merge pull request #2 from pavlinux/master

[FIX]: Memleaks in case UPD or TCP header is NULL