X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fopenocd.c;h=8e8ceac45eb8ece54df1b877b6438d1ae2e1631f;hp=b7781a6b6d37332693838815f662347bdcfd80ca;hb=9e9633c6b98cc9243ae78cd12ab657d041eaa73e;hpb=73c6e3bb18326050acc8908b561443a7b37549bb diff --git a/src/openocd.c b/src/openocd.c index b7781a6b6d..8e8ceac45e 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -278,7 +278,7 @@ int openocd_main(int argc, char *argv[]) httpd_stop(); #endif - unregister_all_commands(cmd_ctx); + unregister_all_commands(cmd_ctx, NULL); /* free commandline interface */ command_done(cmd_ctx);