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:27:36 +0000 (09:27 +0100)
commite5154c077a9a6b44f33de8550dcb5d7102d06cc3
treee7286158210ce9885ed2ce1f1db804f4222af11d
parent269be04699e7603b7840084faa03c3448bdbbc65
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