index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-12-05 23:20:08 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-05 23:21:56 -0600 |
commit | 6a1d3948a670184f01a697efe55b91b4ccdcb51d (patch) | |
tree | 9e78598724477cfdb683b204db8df2224c8f4c7b /lib | |
parent | 17e0be9e6a5ed1cf5611e23d3c9debd0a3248077 (diff) |
-rw-r--r-- | lib/libalpm/util.c | 2 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index c89f3c9c..ad15d937 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -1000,7 +1000,7 @@ cleanup: { int ret = b->ret; FREE(b->line); - memset(b, 0, sizeof(b)); + memset(b, 0, sizeof(struct archive_read_buffer)); return ret; } } |