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:
committed by
Gerald (Jerry) Carter
parent
3b2cd19fcb
commit
f629bffb1a
@ -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, '\\');
|
||||
|
Reference in New Issue
Block a user