X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fparser.c;h=8e767c6727c27f00ddc1ecb5ecaf173d288fdd60;hp=7833981ae3785d11aa072066f4aa834ae3a4acbc;hb=45e64e9fbeae206997d347b479e697da2ee53ac5;hpb=8cfcec4279b229dacfb0589bc443f8a4cbd83082 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;