Signed-off-by: chenyong <1521761801@qq.com>
@@ -197,7 +197,12 @@ int webclient_get_test(int argc, char **argv)
return -RT_ERROR;
}
- return 0;
+ if (uri)
+ {
+ web_free(uri);
+ }
+
+ return RT_EOK;
#ifdef FINSH_USING_MSH
@@ -181,8 +181,13 @@ int webclient_post_test(int argc, char **argv)
rt_kprintf("web_post_test -s [uri] - webclient simplify post request test.\n");