From 3c181a88c6c03cde3d6abb917c656bbe6be8a130 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 9 May 2005 12:43:12 +0000 Subject: r6678: fix python python after talloc() shakeup (This used to be commit f629bffb1a6b8c2ea54fcfe33865b43559abbc77) --- source3/python/py_spoolss_printers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/python/py_spoolss_printers.c') diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c index d011681acc..a8efda1601 100644 --- a/source3/python/py_spoolss_printers.c +++ b/source3/python/py_spoolss_printers.c @@ -43,7 +43,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw) return NULL; } - server = strdup(unc_name + 2); + server = SMB_XSTRDUP(unc_name + 2); if (strchr(server, '\\')) { char *c = strchr(server, '\\'); -- cgit