]> git.ozlabs.org Git - petitboot/blobdiff - discover/parser.c
discover: Add two missing talloc_free()s
[petitboot] / discover / parser.c
index 7833981ae3785d11aa072066f4aa834ae3a4acbc..8e767c6727c27f00ddc1ecb5ecaf173d288fdd60 100644 (file)
@@ -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;