s3: Fix a memleak in receive_getdc_response
commit270893eef13fd5ea020fed263b4a8b5401906e49
authorVolker Lendecke <vl@samba.org>
Sun, 2 Jan 2011 04:57:09 +0000 (2 05:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Jan 2011 08:03:23 +0000 (5 09:03 +0100)
tree2bcd04eac50a001bfd2081146a3493955e33fadb
parent97c676b982e208babbd94353b60b3318933ca7fc
s3: Fix a memleak in receive_getdc_response

It's the free_packet() that was missing. On the way, I've changed the
"return false;" to a "goto fail;", which makes the patch a bit larger.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan  2 14:27:56 CET 2011 on sn-devel-104
(cherry picked from commit 593c004b74693aeddfffdf80945d37bac7276969)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clidgram.c