diff --git a/lib/layer/rrcache.c b/lib/layer/rrcache.c index daaa341ed0d36ba887e3c1cd135aafdf7fc89a5a..2b23742ae290efffd81af18a5dbf05e3b5fb40ee 100644 --- a/lib/layer/rrcache.c +++ b/lib/layer/rrcache.c @@ -240,6 +240,7 @@ static int stash(knot_layer_t *ctx, knot_pkt_t *pkt) /* Cache full, do what we must. */ if (ret == KNOT_ESPACE) { kr_cache_clear(&txn); + kr_cache_txn_commit(&txn); } else { kr_cache_txn_commit(&txn); }