mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
add missing MAYBE_UNLOCK
This commit is contained in:
@@ -622,15 +622,19 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
|
|||||||
result = dns_name_concatenate(dns_wildcardname,
|
result = dns_name_concatenate(dns_wildcardname,
|
||||||
fname, fname,
|
fname, fname,
|
||||||
NULL);
|
NULL);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
MAYBE_UNLOCK(sdlz->dlzimp);
|
||||||
return (result);
|
return (result);
|
||||||
|
}
|
||||||
wild = fname;
|
wild = fname;
|
||||||
}
|
}
|
||||||
|
|
||||||
isc_buffer_init(&b, wildstr, sizeof(wildstr));
|
isc_buffer_init(&b, wildstr, sizeof(wildstr));
|
||||||
result = dns_name_totext(wild, true, &b);
|
result = dns_name_totext(wild, true, &b);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS) {
|
||||||
|
MAYBE_UNLOCK(sdlz->dlzimp);
|
||||||
return (result);
|
return (result);
|
||||||
|
}
|
||||||
isc_buffer_putuint8(&b, 0);
|
isc_buffer_putuint8(&b, 0);
|
||||||
|
|
||||||
result = sdlz->dlzimp->methods->lookup(zonestr, wildstr,
|
result = sdlz->dlzimp->methods->lookup(zonestr, wildstr,
|
||||||
|
Reference in New Issue
Block a user