This likely causes a double-free in the ‘ldmtool_scan_devices’ API.
---
daemon/ldm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/ldm.c b/daemon/ldm.c
index 8ad2fb33b..7753b0d82 100644
--- a/daemon/ldm.c
+++ b/daemon/ldm.c
@@ -316,7 +316,7 @@ do_ldmtool_scan_devices (char * const * devices)
{
char **ret;
size_t i, nr_devices;
- CLEANUP_FREE_STRING_LIST const char **argv = NULL;
+ CLEANUP_FREE const char **argv = NULL;
int r;
CLEANUP_FREE char *out = NULL, *err = NULL;
--
2.13.0