summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/imgtool/imgtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/imgtool/imgtool.cpp b/src/tools/imgtool/imgtool.cpp
index e10558dcce1..4f74a6aa6f8 100644
--- a/src/tools/imgtool/imgtool.cpp
+++ b/src/tools/imgtool/imgtool.cpp
@@ -599,7 +599,7 @@ imgtool::partition::partition(imgtool::image &image, const imgtool_class &imgcla
m_create_dir = nullptr;
m_delete_dir = nullptr;
m_writefile_optguide = nullptr;
- m_writefile_optspec = nullptr;
+ m_writefile_optspec.clear();
}
}