Re: [libvirt PATCH 2/2] conf: virsecretobj: fix g_new0 allocation

2020-10-12 Thread Laine Stump
On 10/12/20 2:13 PM, Pavel Hrdina wrote: Fixes commit which changed allocation from VIR_ALLOC_N to g_new0 but missed one +1 on number of allocated elements. Signed-off-by: Pavel Hrdina --- src/conf/virsecretobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[libvirt PATCH 2/2] conf: virsecretobj: fix g_new0 allocation

2020-10-12 Thread Pavel Hrdina
Fixes commit which changed allocation from VIR_ALLOC_N to g_new0 but missed one +1 on number of allocated elements. Signed-off-by: Pavel Hrdina --- src/conf/virsecretobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/virsecretobj.c b/src/conf/virsecretobj.c