Jacek Caban : mshtml: Set default original uri in NewChannelFromURI.
Module: wine Branch: refs/heads/master Commit: 416f504cdd340b8f75ea396245e7c1dad6499cbb URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=416f504cdd340b8f75ea3962... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Mon Feb 20 16:43:32 2006 +0100 mshtml: Set default original uri in NewChannelFromURI. --- dlls/mshtml/nsio.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index 3b88597..8c86de7 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -1423,7 +1423,9 @@ static nsresult NSAPI nsIOService_NewCha ret->load_group = NULL; ret->notif_callback = NULL; ret->load_flags = 0; - ret->original_uri = NULL; + + nsIURI_AddRef(aURI); + ret->original_uri = aURI; if(channel) nsIChannel_QueryInterface(channel, &IID_nsIHttpChannel, (void**)&ret->http_channel);
participants (1)
-
Alexandre Julliard