msado15: Use correct string type for default provider.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
541437e2ce
commit
9415d45a80
|
@ -681,7 +681,11 @@ HRESULT Connection_create( void **obj )
|
|||
connection->state = adStateClosed;
|
||||
connection->timeout = 30;
|
||||
connection->datasource = NULL;
|
||||
connection->provider = SysAllocString(L"MSDASQL");
|
||||
if (!(connection->provider = strdupW( L"MSDASQL" )))
|
||||
{
|
||||
heap_free( connection );
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
connection->mode = adModeUnknown;
|
||||
connection->location = adUseServer;
|
||||
|
||||
|
|
Loading…
Reference in New Issue