You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/04/12 23:17:10 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #9010: Added missing checks in strdup'ed strings.

pkarashchenko commented on code in PR #9010:
URL: https://github.com/apache/nuttx/pull/9010#discussion_r1164751673


##########
drivers/wireless/gs2200m.c:
##########
@@ -3531,6 +3537,7 @@ FAR void *gs2200m_register(FAR const char *devpath,
 
 errout:
   nxmutex_destroy(&dev->dev_lock);
+  kmm_free(dev->path);

Review Comment:
   ```suggestion
     lib_free(dev->path);
   ```



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org