chiark / gitweb /
+ Bug fixes:
[adns.git] / src / query.c
index a720f2058226990a92b596bb1f0dc5852da80d36..966f40974f31d6d55655901340caff7bcb5a90d3 100644 (file)
@@ -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;