svc_vc_create(3): Initialize xprt with NULL.
authorSascha Wildner <saw@online.de>
Sat, 10 Mar 2012 08:27:36 +0000 (09:27 +0100)
committerSascha Wildner <saw@online.de>
Sat, 10 Mar 2012 08:58:40 +0000 (09:58 +0100)
commitcfeb16c7492118d8917de04d71aee4615000a7c0
tree23f963cf2d5b135aa88710bfd15d431dc6bf0271
parente9bd1028139900c6845be26075b54189fc8147b5
svc_vc_create(3): Initialize xprt with NULL.

In the (corner-)case of being out of memory, this prevents free() to be
called on an uninitialized xprt below the cleanup_svc_vc_create: label.
lib/libc/rpc/svc_vc.c