diff -r 0a5e583393e1 -r 5576a85e174a librazor/rpm.c --- a/librazor/rpm.c Tue Sep 09 15:27:12 2014 +0100 +++ b/librazor/rpm.c Fri Oct 17 10:13:48 2014 +0100 @@ -381,6 +381,12 @@ RAZOR_EXPORT void razor_relocations_destroy(struct razor_relocations *rr) { + int i; + + for (i = 0; i < rr->n_relocations; i++) { + free(rr->relocations[i].oldpath); + free(rr->relocations[i].newpath); + } free(rr->path); free(rr->relocations); free(rr);