diff options
| author | Simon Glass <[email protected]> | 2025-05-02 08:46:17 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-30 09:49:31 +0100 |
| commit | 34cb881cc0149513cec85eeca96d3767373235e8 (patch) | |
| tree | 13194654b74675e04e2c8ce435c12aca71d991eb /cmd | |
| parent | bf9860459516d1837e92270340ca307211cd961a (diff) | |
expo: Destroy the cedit expo when done
Once 'cedit run' is completed, destroy the expo so that a fresh one is
used for any future editing.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/cedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/cedit.c b/cmd/cedit.c index f696356419e..20f48ae0007 100644 --- 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; } |
