projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[DNSAPI]
[reactos.git]
/
reactos
/
dll
/
win32
/
dnsapi
/
dnsapi
/
query.c
diff --git
a/reactos/dll/win32/dnsapi/dnsapi/query.c
b/reactos/dll/win32/dnsapi/dnsapi/query.c
index
cf069e5
..
5dbbadf
100644
(file)
--- a/
reactos/dll/win32/dnsapi/dnsapi/query.c
+++ b/
reactos/dll/win32/dnsapi/dnsapi/query.c
@@
-283,7
+283,8
@@
DnsQuery_W(LPCWSTR Name,
}
}
- LastRecord->pNext = 0;
+ if (LastRecord)
+ LastRecord->pNext = 0;
/* The name */
RtlFreeHeap(RtlGetProcessHeap(), 0, Buffer);