[BACK]Return to ber.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ldap

Diff for /src/usr.bin/ldap/Attic/ber.c between version 1.19 and 1.20

version 1.19, 2018/08/12 22:04:09 version 1.20, 2018/11/20 07:20:21
Line 894 
Line 894 
 void  void
 ber_free_elements(struct ber_element *root)  ber_free_elements(struct ber_element *root)
 {  {
           if (root == NULL)
                   return;
         if (root->be_sub && (root->be_encoding == BER_TYPE_SEQUENCE ||          if (root->be_sub && (root->be_encoding == BER_TYPE_SEQUENCE ||
             root->be_encoding == BER_TYPE_SET))              root->be_encoding == BER_TYPE_SET))
                 ber_free_elements(root->be_sub);                  ber_free_elements(root->be_sub);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20