]> git.proxmox.com Git - mirror_ovs.git/commit
Use xmalloc instead of malloc in some Windows code.
authorShashank Ram <rams@vmware.com>
Fri, 19 May 2017 21:59:38 +0000 (14:59 -0700)
committerGurucharan Shetty <guru@ovn.org>
Fri, 19 May 2017 22:19:32 +0000 (15:19 -0700)
commit95c36eb76687ab0253baf67c8ac44b9e63a65be2
treedf7cd5f35306e93167dea3d6574c767b54d8612f
parent921c370a9df520c3784db03bdb363660c148235e
Use xmalloc instead of malloc in some Windows code.

xmalloc checks if the size is valid before allocating
memory, and also if the allocation was successful.

Signed-off-by: Shashank Ram <rams@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
lib/netdev-windows.c
lib/wmi.c