Commit 32596f8a authored by Daniel Salzman's avatar Daniel Salzman

kasp_db: fix dead code

parent ae31e31d
......@@ -725,6 +725,10 @@ int kasp_db_list_zones(kasp_db_t *db, list_t *dst)
// copy it from txn and add to dst
if (key_dn != NULL) {
knot_dname_t *add_dn = knot_dname_copy(key_dn, NULL);
if (add_dn == NULL) {
ptrlist_add(dst, add_dn, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment