- apply patch from Dirk, fixes crash and memory leaks
- apply patch from Dirk, fixes crash and memory leaks

JacksonIsaac/libsolv,jsilhan/libsolv,jsilhan/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,JacksonIsaac/libsolv,jsilhan/libsolv,jsilhan/libsolv,jsilhan/libsolv,JacksonIsaac/libsolv,jsilhan/libsolv