diff --git a/src/runtime/c/pgf/pgf.cxx b/src/runtime/c/pgf/pgf.cxx index a8877d567..363d5808f 100644 --- a/src/runtime/c/pgf/pgf.cxx +++ b/src/runtime/c/pgf/pgf.cxx @@ -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