index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-12-07 10:00:20 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-07 10:00:20 -0600 |
commit | a3a75e0a41680283572895165da3fe2505314dec (patch) | |
tree | 2ac99252adb34215ef7401acf517c45e3bcea2c1 /lib/libalpm/util.c | |
parent | 1038e669649dae98c1cf9c354e680c62cf25638c (diff) | |
parent | 6a1d3948a670184f01a697efe55b91b4ccdcb51d (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index d85a5036..96e1ef66 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1115,7 +1115,7 @@ cleanup: { int ret = b->ret; FREE(b->line); - memset(b, 0, sizeof(b)); + memset(b, 0, sizeof(struct archive_read_buffer)); return ret; } } |