mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
pgf_clone_concrete must release the old concrete
This commit is contained in:
@@ -1294,6 +1294,8 @@ PgfConcrRevision pgf_clone_concrete(PgfDB *db, PgfRevision revision,
|
||||
namespace_insert(pgf->concretes, clone);
|
||||
pgf->concretes = concrs;
|
||||
|
||||
PgfDB::free(concr, concr->name.size+1);
|
||||
|
||||
db->ref_count++;
|
||||
return rev;
|
||||
} PGF_API_END
|
||||
|
||||
Reference in New Issue
Block a user