third_party/inchi/INCHI_BASE/src/ichi_io.c
void inchi_strbuf_close( INCHI_IOS_STRING *buf )
{
    if (!buf)
    {
        return;
    }
    if (buf->pStr)
    {
        inchi_free( buf->pStr );
    }

    memset( buf, 0, sizeof( *buf ) );
}
/****************************************************************************
Close INCHI_IOS_STRING object holding an expandable buffer string,
    free previously allocated sring memory
****************************************************************************/
Close INCHI_IOS_STRING object holding an expandable buffer string,
free previously allocated sring memory
Close INCHI_IOS_STRING object holding an expandable buffer string free previously allocated sring memory
void inchi_strbuf_close( INCHI_IOS_STRING *buf )
{
    if (!buf)
    {
        return;
    }
    if (buf->pStr)
    {
        inchi_free( buf->pStr );
    }
    memset( buf, 0, sizeof( *buf ) );
}
void inchi_strbuf_close ( INCHI_IOS_STRING * buf ) { if ( ! buf ) { return ; } if ( buf -> pStr ) { inchi_free ( buf -> pStr ) ; } memset ( buf , 0 , sizeof ( * buf ) ) ; }
Close INCHI_IOS_STRING object holding an expandable buffer string,
free previously allocated sring memory
Close INCHI_IOS_STRING object holding an expandable buffer string free previously allocated sring memory