]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/trans.c
Resources: res_new() requires an active pool
[libucw.git] / ucw / trans.c
index 5f917fd219eea7ee2635968ca093fa137cb90c12..6fc9e8eb1e33f5fffabfa4fd019d7ed471713cb5 100644 (file)
@@ -93,7 +93,7 @@ trans_commit(void)
   DBG("Committing transaction %p", t);
   ASSERT(t);
   ASSERT(!t->thrown_exc);
-  rp_detach(t->rpool);
+  rp_commit(t->rpool);
   trans_pop(t, c);
   trans_drop(t, c);
 }