xiaoxiang781216 commented on a change in pull request #703:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/703#discussion_r627610133



##########
File path: nshlib/nsh_telnetd.c
##########
@@ -263,7 +266,9 @@ int nsh_telnetstart(sa_family_t family)
        */
 
 #if defined(CONFIG_NSH_ROMFSETC) && !defined(CONFIG_NSH_CONSOLE)
-      nsh_initscript(vtbl);
+      pstate = nsh_newconsole();
+      nsh_initscript(&pstate->cn_vtbl);
+      pstate->cn_vtbl.release(&pstate->cn_vtbl);

Review comment:
       change to nsh_release




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to