]> git.ipfire.org Git - thirdparty/libarchive.git/commit
delete dead ppmd7 alloc callbacks (#893)
authorMike Frysinger <vapier@gmail.com>
Sat, 7 Oct 2017 09:05:24 +0000 (05:05 -0400)
committerJoerg Sonnenberger <joerg@bec.de>
Sat, 7 Oct 2017 09:05:24 +0000 (11:05 +0200)
commitade4bdb7b29ae1425c1e09cc7fdf68209564897c
tree27123773c28c93d00f47e9f8b6c47b97174b4d8c
parent0bec66ba5e40a87295ed823cdfb1c63a26c212ad
delete dead ppmd7 alloc callbacks (#893)

These callbacks are just indirections over the standard free & malloc
functions.  Delete them and just call free & malloc directly.

This saves 672 .text bytes and 52 .data bytes on x86_64/Linux.  Also
avoids needing writable data in the first place.
libarchive/archive_ppmd7.c
libarchive/archive_ppmd7_private.h
libarchive/archive_ppmd_private.h
libarchive/archive_read_support_format_7zip.c
libarchive/archive_read_support_format_rar.c
libarchive/archive_write_set_format_7zip.c