diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 13:56:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 13:56:23 +0000 |
commit | 4ee19d4705bd5ef81c0cd1b9681cfca913bae90f (patch) | |
tree | 7a634ea001d917fa16211939a69fdf9371b8d6cc | |
parent | fe91bcf7953d7321792bb3e4af293893e5492e9b (diff) | |
download | perl-URPM-4ee19d4705bd5ef81c0cd1b9681cfca913bae90f.tar perl-URPM-4ee19d4705bd5ef81c0cd1b9681cfca913bae90f.tar.gz perl-URPM-4ee19d4705bd5ef81c0cd1b9681cfca913bae90f.tar.bz2 perl-URPM-4ee19d4705bd5ef81c0cd1b9681cfca913bae90f.tar.xz perl-URPM-4ee19d4705bd5ef81c0cd1b9681cfca913bae90f.zip |
(Trans_add) fix segfault
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2701,7 +2701,7 @@ Trans_add(trans, pkg, ...) } } } - RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, relocations) == 0; + RETVAL = rpmtsAddInstallElement(trans->ts, pkg->h, (fnpyKey)(1+(pkg->flag & FLAG_ID)), update, *relocations) == 0; /* free allocated memory, check rpm is copying it just above, at least in 4.0.4 */ free(relocations); } else RETVAL = 0; |