inliniac/suricata — pull request #1244 by regit (2014-12-08 14:57:31+00:00)
Title: unix-manager: fix cppcheck errors

This patch fixes the following errors:
[src/unix-manager.c:306]: (error) Memory pointed to by 'client' is freed twice.
[src/unix-manager.c:313]: (error) Memory pointed to by 'client' is freed twice.
[src/unix-manager.c:323]: (error) Memory pointed to by 'client' is freed twice.
[src/unix-manager.c:334]: (error) Memory pointed to by 'client' is freed twice.

Unix manager was treating the packet after closing the socket if message was
too long.

PR builds:
- PR build: https://buildbot.openinfosecfoundation.org/builders/regit/builds/21
- PR pcaps: https://buildbot.openinfosecfoundation.org/builders/regit-pcap/builds/19