diff -r 51a084acef49 -r 3f841a46eab5 src/main.c --- a/src/main.c Fri Oct 17 10:08:28 2014 +0100 +++ b/src/main.c Fri Oct 17 10:10:57 2014 +0100 @@ -1375,6 +1375,8 @@ razor_atomic_destroy(atomic); } while(!retval && r == 1); + razor_install_iterator_destroy(ii); + razor_set_unref(system); free(description); @@ -1443,6 +1445,8 @@ if (upstream == NULL) { fprintf(stderr, "%s\n", razor_error_get_msg(error)); razor_error_free(error); + if (relocations) + razor_relocations_destroy(relocations); return 1; }