1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

r6678: fix python python after talloc() shakeup

This commit is contained in:
Gerald Carter
2005-05-09 12:43:12 +00:00
committed by Gerald (Jerry) Carter
parent 3b2cd19fcb
commit f629bffb1a
9 changed files with 14 additions and 13 deletions

View File

@ -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, '\\');