ShaiviAgarwal2 opened a new pull request, #781:
URL: https://github.com/apache/celix/pull/781

   ### Rationale for this change
   
   The change addresses potential memory management issues in the discovery 
server, ensuring proper resource allocation, error handling, and cleanup to 
enhance stability and prevent crashes or memory leaks.
   
   
   ### What changes are included in this PR?
   
   - Added checks for memory allocation failures (`malloc`, `strdup`, 
`asprintf`) with appropriate error handling.
   - Improved cleanup logic to prevent memory leaks during error scenarios.
   
   
   ### Are these changes tested?
   
   These changes are tested with existing functionality.
   
   
   ### Are there any user-facing changes?
   
   No user-facing changes. These improvements focus on internal stability and 
reliability.


-- 
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: dev-unsubscr...@celix.apache.org

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

Reply via email to