summaryrefslogtreecommitdiffstats
path: root/source3/python/py_srvsvc.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-09 12:43:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:50 -0500
commit3c181a88c6c03cde3d6abb917c656bbe6be8a130 (patch)
tree25959680a7e24eb8f9856c7735c597dfcb264157 /source3/python/py_srvsvc.c
parent08355754151b2d02b2102bc76e94b63ffffdf408 (diff)
downloadsamba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.tar.gz
samba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.tar.xz
samba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.zip
r6678: fix python python after talloc() shakeup
(This used to be commit f629bffb1a6b8c2ea54fcfe33865b43559abbc77)
Diffstat (limited to 'source3/python/py_srvsvc.c')
-rw-r--r--source3/python/py_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_srvsvc.c b/source3/python/py_srvsvc.c
index 3e5a42be23..1fa7ca89c2 100644
--- a/source3/python/py_srvsvc.c
+++ b/source3/python/py_srvsvc.c
@@ -93,7 +93,7 @@ PyObject *srvsvc_netservergetinfo(PyObject *self, PyObject *args,
return NULL;
}
- server = strdup(unc_name + 2);
+ server = SMB_XSTRDUP(unc_name + 2);
if (strchr(server, '\\')) {
char *c = strchr(server, '\\');