version 1.4, 2015/10/05 17:11:21 |
version 1.5, 2015/12/11 04:21:12 |
|
|
* 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 |