MCPcopy Create free account
hub / github.com/boostorg/build / parse_free

Function parse_free

src/engine/parse.c:113–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112
113void parse_free( PARSE * p )
114{
115 if ( --p->refs )
116 return;
117
118 if ( p->string )
119 object_free( p->string );
120 if ( p->string1 )
121 object_free( p->string1 );
122 if ( p->left )
123 parse_free( p->left );
124 if ( p->right )
125 parse_free( p->right );
126 if ( p->third )
127 parse_free( p->third );
128 if ( p->rulename )
129 object_free( p->rulename );
130 if ( p->file )
131 object_free( p->file );
132
133 BJAM_FREE( (char *)p );
134}

Callers 1

parse_fileFunction · 0.85

Calls 1

object_freeFunction · 0.85

Tested by

no test coverage detected