xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r996482144


##########
drivers/input/stmpe811_base.c:
##########
@@ -302,6 +302,7 @@ STMPE811_HANDLE stmpe811_instantiate(FAR struct 
i2c_master_s *dev,
   ret = stmpe811_checkid(priv);
   if (ret < 0)
     {
+      nxmutex_destroy(&priv->lock);

Review Comment:
   No, priv come from g_stmpe811 if CONFIG_STMPE811_MULTIPLE isn't defined.



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to