[PATCH v2 16/27] storageBackendCreateQemuImgSecretPath: Use virSecureErase instead of VIR_DISPOSE_N

2021-02-02 Thread Peter Krempa
Clear out the value using virSecureErase and free it with g_free so that VIR_DISPOSE_N can be phased out. Signed-off-by: Peter Krempa --- src/storage/storage_util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c inde

Re: [PATCH v2 16/27] storageBackendCreateQemuImgSecretPath: Use virSecureErase instead of VIR_DISPOSE_N

2021-02-03 Thread Daniel P . Berrangé
On Tue, Feb 02, 2021 at 05:55:53PM +0100, Peter Krempa wrote: > Clear out the value using virSecureErase and free it with g_free so > that VIR_DISPOSE_N can be phased out. > > Signed-off-by: Peter Krempa > --- > src/storage/storage_util.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-