Skip to content
Snippets Groups Projects
Commit 9936a6dd authored by Luigi Scarso's avatar Luigi Scarso
Browse files

trunk: fix for ligature memory leak

parent 513a2440
Branches
Tags
No related merge requests found
#define luatex_svn_revision 6723
#define luatex_svn_revision 6731
......@@ -3121,12 +3121,10 @@ static void make_ord(pointer q)
default:
try_couple_nodes(q,vlink(p));
math_character(nucleus(q)) = lig_replacement(lig); /* \.{=:} */
s = math_clone(subscr(p));
subscr(q) = s;
s = math_clone(supscr(p));
supscr(q) = s;
math_reset(subscr(p)); /* just in case */
math_reset(supscr(p));
subscr(q) = subscr(p);
supscr(q) = supscr(p);
subscr(p) = null ;
supscr(p) = null ;
flush_node(p);
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment