[ros-dev] [ros-diffs] [dgorbachev] 38083: - Use HEAP_ZERO_MEMORY instead of memset(). - Do not crash if no adapter found.

Dmitry Gorbachev d.g.gorbachev at gmail.com
Mon Dec 15 14:32:45 CET 2008


Hi,

Alex Ionescu wrote:
> You should always use memset and void HEAP_ZERO_MEMORY.

Could you please tell why HEAP_ZERO_MEMORY should not be used?

It is used in many places, so if something wrong with RtlAllocateHeap, maybe 
better to fix it?

Thanks,
Dmitry



More information about the Ros-dev mailing list