summaryrefslogtreecommitdiff
path: root/ext/standard/dns_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/dns_win32.c')
-rw-r--r--ext/standard/dns_win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c
index 22c606eb0a..c9c23415d9 100644
--- a/ext/standard/dns_win32.c
+++ b/ext/standard/dns_win32.c
@@ -146,6 +146,8 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw,
type = pRec->wType;
ttl = pRec->dwTtl;
+ ZVAL_UNDEF(subarray);
+
if (type_to_fetch != DNS_TYPE_ANY && type != type_to_fetch) {
return;
}