From 86167d269a865743a7fbea51ab4599af459ddf33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Vavru=C5=A1a?= <marek.vavrusa@nic.cz> Date: Sun, 12 Apr 2015 21:44:45 +0200 Subject: [PATCH] rplan: do not reinit structure on deinit --- lib/rplan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/rplan.c b/lib/rplan.c index 12cb9b0cc..bab21484b 100644 --- a/lib/rplan.c +++ b/lib/rplan.c @@ -87,8 +87,6 @@ void kr_rplan_deinit(struct kr_rplan *rplan) if (rplan->txn.db != NULL) { kr_cache_txn_abort(&rplan->txn); } - - kr_rplan_init(rplan, rplan->context, rplan->pool); } bool kr_rplan_empty(struct kr_rplan *rplan) -- GitLab