xl/vsnd: use xcalloc to allocate memory for parser
authorWei Liu <wei.liu2@citrix.com>
Tue, 10 Jul 2018 13:41:16 +0000 (14:41 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 10 Jul 2018 14:17:43 +0000 (15:17 +0100)
commit06fb99498decd36983a66acda81b56d75f3db66e
tree05e956ca3e9dd6bdeb707bcf077b85254d581f37
parentd7b1c5f7fa0e85fad4c61b927ff39896323e3374
xl/vsnd: use xcalloc to allocate memory for parser

... because it handles errors for us.

Reported-by: Coverity
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xl/xl_parse.c