s3:utils: Do not leak memory in new_user()
authorAndreas Schneider <asn@samba.org>
Thu, 9 Aug 2018 14:30:03 +0000 (16:30 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 10 Aug 2018 23:49:16 +0000 (01:49 +0200)
commitb7b4fc51d0eadbbc94576dda75ae80098a205a24
tree1285e323c12d78c1c025e932b416844eb7fbe749
parentf20150fb1ea5292f099862af6268d06844954d5e
s3:utils: Do not leak memory in new_user()

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: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/pdbedit.c