projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sync with trunk r46493
[reactos.git]
/
dll
/
win32
/
hlink
/
link.c
diff --git
a/dll/win32/hlink/link.c
b/dll/win32/hlink/link.c
index
52197cc
..
ffd3cda
100644
(file)
--- a/
dll/win32/hlink/link.c
+++ b/
dll/win32/hlink/link.c
@@
-291,7
+291,9
@@
static HRESULT WINAPI IHlink_fnSetStringReference(IHlink* iface,
if (grfHLSETF & HLINKSETF_LOCATION)
{
heap_free(This->Location);
- This->Location = hlink_strdupW( pwzLocation );
+ This->Location = NULL;
+ if (pwzLocation && *pwzLocation)
+ This->Location = hlink_strdupW( pwzLocation );
}
return S_OK;