X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/3d5cde09d167be1609d27d0d93de2096250a310c..1ed3dba46ce3a8e24cfa484f6168348e796e2c73:/src/query.c diff --git a/src/query.c b/src/query.c index a720f20..966f409 100644 --- a/src/query.c +++ b/src/query.c @@ -374,6 +374,7 @@ void adns__transfer_interim(adns_query from, adns_query to, void *block, size_t LIST_UNLINK(from->allocations,an); LIST_LINK_TAIL(to->allocations,an); + sz= MEM_ROUND(sz); from->interim_allocd -= sz; to->interim_allocd += sz;