Github user shinrich commented on the issue:

    https://github.com/apache/trafficserver/pull/853
  
    The add1 version increments the reference count of the certificate, The 
add0 version doesn't, so it effectively takes ownership of the reference you 
pass in.  From the man page
    
    "All these functions are implemented as macros. Those containing a 1 
increment the reference count of the supplied certificate or chain so it must 
be freed at some point after the operation. Those containing a 0 do not 
increment reference counts and the supplied certificate or chain MUST NOT be 
freed after the operation."


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to