/* Parameters for (repeated) creation of named pipe objects */
PSECURITY_DESCRIPTOR psd;
- PSID networksid;
PACL acl;
char *pipename;
CloseHandle(ps->connect_ovl.hEvent);
sfree(ps->error);
sfree(ps->pipename);
- if (ps->networksid)
- LocalFree(ps->networksid);
if (ps->acl)
LocalFree(ps->acl);
if (ps->psd)
ret->error = NULL;
ret->psd = NULL;
ret->pipename = dupstr(pipename);
- ret->networksid = NULL;
ret->acl = NULL;
assert(strncmp(pipename, "\\\\.\\pipe\\", 9) == 0);
assert(strchr(pipename + 9, '\\') == NULL);
if (!make_private_security_descriptor(GENERIC_READ | GENERIC_WRITE,
- &ret->psd, &ret->networksid,
- &ret->acl, &ret->error)) {
+ &ret->psd, &ret->acl, &ret->error)) {
goto cleanup;
}