[RPCSS] Sync with Wine Staging 1.9.16. CORE-11866

svn path=/trunk/; revision=72446
This commit is contained in:
Amine Khaldi 2016-08-23 19:34:57 +00:00
parent 89a86c50c7
commit dd7d00f90d
2 changed files with 7 additions and 5 deletions

View file

@ -112,7 +112,6 @@ void __cdecl ept_insert(handle_t h,
*status = EPT_S_CANT_PERFORM_OP;
break;
}
list_init(&entry->entry);
memcpy(entry->annotation, entries[i].annotation, sizeof(entries[i].annotation));
rpc_status = TowerExplode(entries[i].tower, &entry->iface, &entry->syntax,
&entry->protseq, &entry->endpoint,
@ -121,6 +120,7 @@ void __cdecl ept_insert(handle_t h,
{
WINE_WARN("TowerExplode failed %u\n", rpc_status);
*status = rpc_status;
HeapFree(GetProcessHeap(), 0, entry);
break; /* FIXME: more cleanup? */
}
@ -164,6 +164,11 @@ void __cdecl ept_delete(handle_t h,
if (rpc_status != RPC_S_OK)
break;
entry = find_ept_entry(&iface, &syntax, protseq, endpoint, address, &entries[i].object);
I_RpcFree(protseq);
I_RpcFree(endpoint);
I_RpcFree(address);
if (entry)
delete_registered_ept_entry(entry);
else
@ -171,9 +176,6 @@ void __cdecl ept_delete(handle_t h,
*status = EPT_S_NOT_REGISTERED;
break;
}
I_RpcFree(protseq);
I_RpcFree(endpoint);
I_RpcFree(address);
}
LeaveCriticalSection(&csEpm);

View file

@ -243,7 +243,7 @@ reactos/base/applications/regedit # Out of sync
reactos/base/applications/winhlp32 # Synced to WineStaging-1.9.16
reactos/base/applications/wordpad # Synced to WineStaging-1.9.16
reactos/base/applications/write # Synced to WineStaging-1.9.16
reactos/base/services/rpcss # Synced to WineStaging-1.9.11
reactos/base/services/rpcss # Synced to WineStaging-1.9.16
reactos/base/system/expand # Synced to WineStaging-1.9.11
reactos/base/system/msiexec # Synced to WineStaging-1.9.11
reactos/modules/rosapps/winfile # Autosync