]> arthur.barton.de Git - bup.git/commit - lib/bup/_helpers.c
bup_limited_vint_pack: revert to malloc/free
authorRob Browning <rlb@defaultvalue.org>
Sun, 16 May 2021 16:14:41 +0000 (11:14 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 16 May 2021 16:23:40 +0000 (11:23 -0500)
commit3c27b09fb95e0f66e7bf441a2e83723d368eef17
tree2a83fe8299f5ae74d2bf97b4041ad700f0433d01
parent8e822a862d8f229d929ab790ec47b047bd960934
bup_limited_vint_pack: revert to malloc/free

Replace PyMem_RawMalloc and PyMemRawFree with malloc and free,
reverting my adjustment in 3b98812aa98a1590e2bebbc83c113c07e4c002bc.

Python 2 doesn't support them, and at least right now, regardless of
what the current python docs suggest, at the moment, they're just
trivial wrappers around malloc and free.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c