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

Function parse_free

v2/engine/parse.c:111–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

parse_fileFunction · 0.85

Calls 1

object_freeFunction · 0.85

Tested by

no test coverage detected