summaryrefslogtreecommitdiff
path: root/src/helper/command.c
diff options
context:
space:
mode:
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-18 21:20:28 +0000
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2007-12-18 21:20:28 +0000
commit02f3765351c9e25185b745b84f1a2604fb2149c7 (patch)
tree81331db01e68baf67bc2cc271b1f1ed2a6962d76 /src/helper/command.c
parented1e9d6abdece4fbf6251a11f0eca3c921221048 (diff)
downloadopenocd_libswd-02f3765351c9e25185b745b84f1a2604fb2149c7.tar.gz
openocd_libswd-02f3765351c9e25185b745b84f1a2604fb2149c7.tar.bz2
openocd_libswd-02f3765351c9e25185b745b84f1a2604fb2149c7.tar.xz
openocd_libswd-02f3765351c9e25185b745b84f1a2604fb2149c7.zip
- added patch for new flash functionality like:
flash verify_image and flash erase_address. - added patch for new parport_write_on_exit command. Even this patch will fix some memory leaks. (thanks too oyvind and Spen for these patches) git-svn-id: svn://svn.berlios.de/openocd/trunk@240 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.c')
-rw-r--r--src/helper/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index f69deb49..44ead7cb 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -506,6 +506,7 @@ command_context_t* copy_command_context(command_context_t* context)
int command_done(command_context_t *context)
{
free(context);
+ context = NULL;
return ERROR_OK;
}