summaryrefslogtreecommitdiffstats
path: root/discover/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/parser.c')
-rw-r--r--discover/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/parser.c b/discover/parser.c
index 7833981..8e767c6 100644
--- a/discover/parser.c
+++ b/discover/parser.c
@@ -62,6 +62,7 @@ int parser_check_dir(struct discover_context *ctx,
path = local_path(ctx, dev, dirname);
rc = stat(path, &statbuf);
+ talloc_free(path);
if (!rc)
return -1;
OpenPOWER on IntegriCloud