diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-01-02 01:00:23 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-02 12:48:59 +0100 |
commit | 8da9be0955fc759f43c40dab8985f9d17ac8462a (patch) | |
tree | e8d58c84e3175347677e6f77ba485015436447a2 /proto | |
parent | 4060c5c77f41f69b26597dcc6d9285cf546000cf (diff) | |
download | pacman-8da9be0955fc759f43c40dab8985f9d17ac8462a.tar.gz pacman-8da9be0955fc759f43c40dab8985f9d17ac8462a.tar.xz |
initialize pointers passed to _alpm_pkg_dup
_alpm_pkg_dup leaves the destination pointer unaltered in case of fatal
errors, so when commits 2f0ca00e and be4198b3 freed the pointer, they
fixed a memory leak on non-fatal errors by replacing it with
a segmentation fault on fatal errors.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions