From 470ebe77080911b0491a6e737ef5fbe8309a9848 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 12 May 2025 17:53:45 +0200 Subject: [PATCH] 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 --- source3/libsmb/pylibsmb.c | 2 -- 1 file changed, 2 deletions(-) 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; } -- 2.47.2