s3: Fix a memleak in receive_getdc_response
authorVolker Lendecke <vl@samba.org>
Sun, 2 Jan 2011 04:57:09 +0000 (05:57 +0100)
committerVolker Lendecke <vlendec@samba.org>
Sun, 2 Jan 2011 13:27:56 +0000 (14:27 +0100)
commit593c004b74693aeddfffdf80945d37bac7276969
treee51702360aa90da8ada554f0698f3c22aa265013
parent45cb9bba37407ab4e76b0955e6a379efc6d562a4
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
source3/libsmb/clidgram.c