[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #10017: Use `lib_free` for the memory buffer allocated via `strdup` in `net/procfs/net_procfs.c`

2023-08-03 Thread via GitHub
xiaoxiang781216 commented on code in PR #10017: URL: https://github.com/apache/nuttx/pull/10017#discussion_r1283610498 ## net/procfs/net_procfs.c: ## @@ -244,7 +246,7 @@ static int netprocfs_open(FAR struct file *filep, FAR const char *relpath, devname =

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #10017: Use `lib_free` for the memory buffer allocated via `strdup` in `net/procfs/net_procfs.c`

2023-08-02 Thread via GitHub
xiaoxiang781216 commented on code in PR #10017: URL: https://github.com/apache/nuttx/pull/10017#discussion_r1282560712 ## net/procfs/net_procfs.c: ## @@ -244,7 +246,7 @@ static int netprocfs_open(FAR struct file *filep, FAR const char *relpath, devname =