libadmin: Don't free garbage
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 28 Feb 2013 22:07:12 +0000 (22:07 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 1 Mar 2013 00:25:16 +0000 (16:25 -0800)
commitbf78bf2c115659b78c34d3bc9d1934bcff21c8cc
treec8ef0f02d22a5fe065882e9ee6b7cd933dd5f94d
parent3beca62928665868294ec3e9d34ab63b41e12645
libadmin: Don't free garbage

Make sure that we initialise the nbulkentries structure to 0 before
we start work, so that if the failure handler is called, it doesn't
try to free garbage.

Caught by coverity (#985980)

Change-Id: If55faadd44f7bbc80abbdcd7842603d586db7581
Reviewed-on: http://gerrit.openafs.org/9317
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/libadmin/vos/afs_vosAdmin.c