patacongo commented on issue #740:
URL: https://github.com/apache/incubator-nuttx/issues/740#issuecomment-672202008


   > What controls the "life" of structure pointed to by "arg". It cannot be in 
a stack and it can become stale if it is in allocated memory. In general, it 
cannot be a static variable either. If allocated, what frees the structure.
   
   This is not a problem, however, if you copy the data out of the structure 
and into the wdog_s structure immediately in the wd_start call as is done now.  
The original structure itself must be assumed to be volatile.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to