s3:client: Avoid a possible fd leak in do_get()
commitf1c2e6829a1abc2ebeb47b0a800c6928a344fd1a
authorAndreas Schneider <asn@samba.org>
Thu, 9 Aug 2018 13:58:32 +0000 (9 15:58 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 23 Aug 2018 08:39:16 +0000 (23 10:39 +0200)
treef370c9b38fd46de37e338f6265cc1bbb9e7cbaf5
parent98e7021744e1b22c49b40613058d22ab7bfe02d2
s3:client: Avoid a possible fd leak in do_get()

Found by covscan.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13567

Pair-Programmed-With: Justin Stephenson <jstephen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 3d32c0263b072e19335eba1451840284409ecb61)
source3/client/client.c