diff options
author | Nathan Jones <nathanj@insightbb.com> | 2007-12-07 16:56:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-21 11:08:05 -0600 |
commit | b43301428e50d006c9b94d1ced74f1f0775a04dc (patch) | |
tree | ff0f60e46d7e0b083396c339dbbe0b1c7e26fb77 /src/util | |
parent | 9a6582a8fd2195ad5294d07ced62df56961200e8 (diff) | |
download | pacman-b43301428e50d006c9b94d1ced74f1f0775a04dc.tar.xz |
Fix memory leak in shortest_delta_path.
It is possible for the if statement to never succeed, causing path to
never be freed. It is also possible for the if statement to succeed more
than once per loop, which could have caused a segfault.
Signed-off-by: Nathan Jones <nathanj@insightbb.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions