s3/lib/popt_common: don't assume stackframe presence
authorDavid Disseldorp <ddiss@samba.org>
Tue, 5 Feb 2019 23:58:17 +0000 (00:58 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 7 Feb 2019 16:23:18 +0000 (17:23 +0100)
commit901ca24e43a1b2b441f070e5dc40a6c7ddcba883
treefbc3a4fd65ab331d94d02f7bc2c8df979c33ec90
parentc824240cd48aea9e0655287c98c8de7c3ffd5f94
s3/lib/popt_common: don't assume stackframe presence

popt_common_callback() should be leak-safe if a talloc stackframe isn't
available, as it's invoked early on.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/popt_common.c