summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:03:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:03:59 +0100
commit0fae783beefc4ea6f201d517bcfe9dd1bd02f38b (patch)
treee3154839464d550a4a2c03c49e8bd4bef8eb50a1 /commands
parent490a3c496454cea131dbd5edadbe7d7cfce4cfa8 (diff)
parentabd0cea544372324656bf35b30b4cc6cd3b80317 (diff)
downloadbarebox-0fae783beefc4ea6f201d517bcfe9dd1bd02f38b.tar.gz
barebox-0fae783beefc4ea6f201d517bcfe9dd1bd02f38b.tar.xz
Merge branch 'for-next/of'
Diffstat (limited to 'commands')
-rw-r--r--commands/of_property.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/of_property.c b/commands/of_property.c
index ae6bfd4211..2bc08f2dad 100644
--- a/commands/of_property.c
+++ b/commands/of_property.c
@@ -278,6 +278,7 @@ static int do_of_property(int argc, char *argv[])
if (pp) {
free(pp->value);
+ pp->value_const = NULL;
/* limit property data to the actual size */
if (len) {