Ignore:
Timestamp:
Apr 4, 2024, 2:37:10 PM (3 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
af746cc, b6a71bc, cb98d9d
Parents:
1cfe640
Message:

Fixed memory leak in the parser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    r1cfe640 rd9bad51  
    225225} // DeclarationNode::newEnumValueGeneric
    226226
    227 DeclarationNode * DeclarationNode::newEnumInLine( const string name ) {
    228         DeclarationNode * newnode = newName( new std::string(name) );
     227DeclarationNode * DeclarationNode::newEnumInLine( const std::string * name ) {
     228        DeclarationNode * newnode = newName( name );
    229229        newnode->enumInLine = true;
    230230        return newnode;
Note: See TracChangeset for help on using the changeset viewer.