[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; *status = EPT_S_CANT_PERFORM_OP;
break; break;
} }
list_init(&entry->entry);
memcpy(entry->annotation, entries[i].annotation, sizeof(entries[i].annotation)); memcpy(entry->annotation, entries[i].annotation, sizeof(entries[i].annotation));
rpc_status = TowerExplode(entries[i].tower, &entry->iface, &entry->syntax, rpc_status = TowerExplode(entries[i].tower, &entry->iface, &entry->syntax,
&entry->protseq, &entry->endpoint, &entry->protseq, &entry->endpoint,
@ -121,6 +120,7 @@ void __cdecl ept_insert(handle_t h,
{ {
WINE_WARN("TowerExplode failed %u\n", rpc_status); WINE_WARN("TowerExplode failed %u\n", rpc_status);
*status = rpc_status; *status = rpc_status;
HeapFree(GetProcessHeap(), 0, entry);
break; /* FIXME: more cleanup? */ break; /* FIXME: more cleanup? */
} }
@ -164,6 +164,11 @@ void __cdecl ept_delete(handle_t h,
if (rpc_status != RPC_S_OK) if (rpc_status != RPC_S_OK)
break; break;
entry = find_ept_entry(&iface, &syntax, protseq, endpoint, address, &entries[i].object); entry = find_ept_entry(&iface, &syntax, protseq, endpoint, address, &entries[i].object);
I_RpcFree(protseq);
I_RpcFree(endpoint);
I_RpcFree(address);
if (entry) if (entry)
delete_registered_ept_entry(entry); delete_registered_ept_entry(entry);
else else
@ -171,9 +176,6 @@ void __cdecl ept_delete(handle_t h,
*status = EPT_S_NOT_REGISTERED; *status = EPT_S_NOT_REGISTERED;
break; break;
} }
I_RpcFree(protseq);
I_RpcFree(endpoint);
I_RpcFree(address);
} }
LeaveCriticalSection(&csEpm); 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/winhlp32 # Synced to WineStaging-1.9.16
reactos/base/applications/wordpad # 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/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/expand # Synced to WineStaging-1.9.11
reactos/base/system/msiexec # Synced to WineStaging-1.9.11 reactos/base/system/msiexec # Synced to WineStaging-1.9.11
reactos/modules/rosapps/winfile # Autosync reactos/modules/rosapps/winfile # Autosync