git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf98604
)
expo: Destroy the cedit expo when done
author
Simon Glass
<sjg@chromium.org>
Fri, 2 May 2025 14:46:17 +0000
(08:46 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 30 May 2025 08:49:31 +0000
(09:49 +0100)
Once 'cedit run' is completed, destroy the expo so that a fresh one is
used for any future editing.
Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/cedit.c
patch
|
blob
|
history
diff --git
a/cmd/cedit.c
b/cmd/cedit.c
index
f696356
..
20f48ae
100644
(file)
--- a/
cmd/cedit.c
+++ b/
cmd/cedit.c
@@
-287,6
+287,8
@@
static int do_cedit_run(struct cmd_tbl *cmdtp, int flag, int argc,
log_err("Failed (err=%dE)\n", ret);
return CMD_RET_FAILURE;
}
+ expo_destroy(cur_exp);
+ cur_exp = NULL;
return 0;
}