6e953c2
diff --git a/dns64/dns64.c b/dns64/dns64.c
6e953c2
index 6c81192..77e6890 100644
6e953c2
--- a/dns64/dns64.c
6e953c2
+++ b/dns64/dns64.c
6e953c2
@@ -925,7 +925,7 @@ dns64_inform_super(struct module_qstate* qstate, int id,
6e953c2
 	 * successful or not. This lets the state machine terminate.
6e953c2
 	 */
6e953c2
 	if(!super_dq) {
6e953c2
-		super_dq = (struct dns64_qstate*)regional_alloc(qstate->region,
6e953c2
+		super_dq = (struct dns64_qstate*)regional_alloc(super->region,
6e953c2
 			sizeof(*super_dq));
6e953c2
 		super->minfo[id] = super_dq;
6e953c2
 		memset(super_dq, 0, sizeof(*super_dq));