From: Stefan Metzmacher Date: Mon, 12 May 2025 15:53:45 +0000 (+0200) Subject: s3:pylibsmb: don't use an unbound talloc_stackframe() in libsmb_samba_cwrapper() X-Git-Tag: tevent-0.17.0~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=470ebe77080911b0491a6e737ef5fbe8309a9848;p=thirdparty%2Fsamba.git s3:pylibsmb: don't use an unbound talloc_stackframe() in libsmb_samba_cwrapper() Code should use there own explicit stackframes. Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- diff --git a/source3/libsmb/pylibsmb.c b/source3/libsmb/pylibsmb.c index d88b0e12c9e..87dc460c0fe 100644 --- a/source3/libsmb/pylibsmb.c +++ b/source3/libsmb/pylibsmb.c @@ -3480,8 +3480,6 @@ MODULE_INIT_FUNC(libsmb_samba_cwrapper) PyObject *m = NULL; PyObject *mod = NULL; - talloc_stackframe(); - if (PyType_Ready(&py_cli_state_type) < 0) { return NULL; }