summaryrefslogtreecommitdiffstats
path: root/discover/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/resource.c')
-rw-r--r--discover/resource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/resource.c b/discover/resource.c
index 25fff65..f9019d1 100644
--- a/discover/resource.c
+++ b/discover/resource.c
@@ -122,6 +122,7 @@ struct resource *create_url_resource(struct discover_boot_option *opt,
struct resource *res;
res = talloc(opt, struct resource);
+ talloc_steal(res, url);
res->url = url;
res->resolved = true;
OpenPOWER on IntegriCloud