diff options
-rw-r--r-- | src/knot/zone/zonedb-load.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/knot/zone/zonedb-load.c b/src/knot/zone/zonedb-load.c index abe2dc709..2643d0cd0 100644 --- a/src/knot/zone/zonedb-load.c +++ b/src/knot/zone/zonedb-load.c @@ -652,6 +652,7 @@ int zone_reload_modules(conf_t *conf, server_t *server, const knot_dname_t *zone zone_t *newzone = create_zone(conf, zone_name, server, *zone); if (newzone == NULL) { + knot_sem_post(&(*zone)->cow_lock); return KNOT_ENOMEM; } knot_sem_wait(&newzone->cow_lock); |