diff options
-rw-r--r-- | RPM4/NEWS | 2 | ||||
-rw-r--r-- | RPM4/src/RPM4.xs | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,3 +1,5 @@ +- fix segfault in testsuite + Version 0.35 - 1 August 2015 - drop methods only supported in rpm < 4.9 diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 86d1228..659f496 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1405,8 +1405,7 @@ Ts_new(perlclass, rootdir = NULL) PREINIT: rpmts ts = rpmtsCreate(); PPCODE: - if (rootdir) - rpmtsSetRootDir(ts, rootdir); + rpmtsSetRootDir(ts, rootdir); mXPUSHs(sv_setref_pv(newSVpvs(""), perlclass, (void *)ts)); void |