1.1 --- a/src/test-driver.c Fri Jan 09 12:32:57 2009 +0000
1.2 +++ b/src/test-driver.c Fri Jan 27 07:55:30 2012 +0000
1.3 @@ -1,6 +1,7 @@
1.4 /*
1.5 * Copyright (C) 2008 Kristian Høgsberg <krh@redhat.com>
1.6 * Copyright (C) 2008 Red Hat, Inc
1.7 + * Copyright (C) 2009 J. Ali Harlow <ali@juiblex.co.uk>
1.8 *
1.9 * This program is free software; you can redistribute it and/or modify
1.10 * it under the terms of the GNU General Public License as published by
1.11 @@ -336,7 +337,8 @@
1.12
1.13 if (!errors) {
1.14 struct razor_set *new;
1.15 - new = razor_transaction_finish(ctx->trans);
1.16 + new = razor_transaction_commit(ctx->trans);
1.17 + razor_transaction_destroy(ctx->trans);
1.18 ctx->trans = NULL;
1.19 ctx->system_set = new;
1.20 }