Fix performance problem of virStorageVolCreateXMLFrom()

This patch changes zerobuf variable from array to VIR_ALLOC_N().

Signed-off-by: Minoru Usui <usui@mxm.nes.nec.co.jp>
This commit is contained in:
Minoru Usui
2011-03-08 20:06:51 +09:00
committed by Eric Blake
parent e2d24e8de4
commit 9bfde34661
2 changed files with 36 additions and 10 deletions

View File

@@ -158,6 +158,7 @@ Patches have also been contributed by:
Markus Groß <gross@univention.de>
Phil Petty <phpetty@cisco.com>
Taku Izumi <izumi.taku@jp.fujitsu.com>
Minoru Usui <usui@mxm.nes.nec.co.jp>
[....send patches to get your name here....]