diff options
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) | |
download | pacman-a3a75e0a41680283572895165da3fe2505314dec.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r-- | lib/libalpm/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |