libwinpr-rpc: fix RpcStringFree

This commit is contained in:
Marc-André Moreau 2014-10-08 21:46:46 -04:00
parent 914e498a38
commit 06c1810c8a
1 changed files with 6 additions and 4 deletions

View File

@ -147,15 +147,17 @@ RPC_STATUS RpcStringBindingParseW(RPC_WSTR StringBinding, RPC_WSTR* ObjUuid, RPC
RPC_STATUS RpcStringFreeA(RPC_CSTR* String)
{
WLog_ERR(TAG, "Not implemented");
free(String);
if (String)
free(*String);
return RPC_S_OK;
}
RPC_STATUS RpcStringFreeW(RPC_WSTR* String)
{
WLog_ERR(TAG, "Not implemented");
free(String);
if (String)
free(*String);
return RPC_S_OK;
}