[master] c138d1779 Dridilinting
Nils Goroll
nils.goroll at uplex.de
Wed Sep 29 10:35:07 UTC 2021
commit c138d17796f5d7c26478e6a30046b102fc07a25e
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Wed Sep 29 12:34:07 2021 +0200
Dridilinting
Ref #3707
diff --git a/bin/varnishd/storage/storage_debug.c b/bin/varnishd/storage/storage_debug.c
index 379d97647..aa8672fe6 100644
--- a/bin/varnishd/storage/storage_debug.c
+++ b/bin/varnishd/storage/storage_debug.c
@@ -81,7 +81,8 @@ smd_init(struct stevedore *parent, int aac, char * const *aav)
methods->objgetspace = smd_lsp_getspace;
continue;
}
- av[ac++] = strdup(aav[i]);
+ REPLACE(av[ac], aav[i]);
+ ac++;
}
AZ(av[ac]);
More information about the varnish-commit
mailing list