]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commit
Check for zero byte allocations
authorOwen Smith <owen.smith@cloud.com>
Mon, 17 Apr 2023 13:24:39 +0000 (14:24 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 22 May 2023 12:43:47 +0000 (13:43 +0100)
commit7429e66ff12776a97b2733eb75ac7744609b6359
tree4820ebce8efacc4c89a43f66f576da3e3438abde
parent44bbe489943ed35d512f2d50121cf595dd1e9fbb
Check for zero byte allocations

Avoid attempting to allocate zero byte buffers, which can lead to
inefficiencies in pool memory usage.

Suggested-by: Matthew Sykes <matthew.sykes@citrix.com>
Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/xencons/util.h