]> xenbits.xensource.com Git - pvdrivers/win/xeniface.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:48:15 +0000 (13:48 +0100)
commit8d1e3a5c9fb32067cb26de31a7791c63853657f1
treeb5dd428beadf677345fe0b8ef0514067ea0740d5
parent20d0d3483ed4cde3b6dc8b41c3a56d5da2339614
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/xeniface/util.h