Skip to content

Commit 08c8e1c

Browse files
committed
second stab at fixing crash: remove mf()
1 parent 4533f33 commit 08c8e1c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

jsrc/ar.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,9 @@ static DF2(jtfold12){F12IP;A z,vz;
12241224
JMC(AAV1(zznew),AAV1(zz),newslot<<LGSZI,0) AZAPLOC(zznew)=AZAPLOC(zz);
12251225
AT(zznew)=BOX; AFLAG(zznew)=BOX&RECURSIBLE; // new zz now has pointers to allocated blocks and to its dedicated zaploc
12261226
AN(zznew)=newslot+1; AAV(zznew)[newslot]=z; // AAV not AAV1
1227-
*AZAPLOC(zz)=zznew; mf(zz); zz=zznew; // swap buffers, transferring ownership to zznew & protecting it; free zz using mf to avoid traversing boxes
1227+
*AZAPLOC(zz)=zznew;
1228+
// obsolete mf(zz);
1229+
zz=zznew; // swap buffers, transferring ownership to zznew & protecting it; free zz using mf to avoid traversing boxes
12281230
// obsolete *zznewzap=zz;
12291231
}else{AAV1(zz)[newslot]=z; AN(zz)=newslot+1;} // install the new value & account for it in len
12301232
#else

0 commit comments

Comments
 (0)