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

Diff for /src/usr.bin/ssh/sshbuf.c between version 1.4 and 1.5

version 1.4, 2015/10/05 17:11:21 version 1.5, 2015/12/11 04:21:12
Line 161 
Line 161 
          * If we are a child, the free our parent to decrement its reference           * If we are a child, the free our parent to decrement its reference
          * count and possibly free it.           * count and possibly free it.
          */           */
         if (buf->parent != NULL) {          sshbuf_free(buf->parent);
                 sshbuf_free(buf->parent);          buf->parent = NULL;
                 buf->parent = NULL;  
         }  
         /*          /*
          * If we are a parent with still-extant children, then don't free just           * If we are a parent with still-extant children, then don't free just
          * yet. The last child's call to sshbuf_free should decrement our           * yet. The last child's call to sshbuf_free should decrement our

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5