[Sie-announce] SIEコード [1107] STGroupElementのchildrenの解放

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 23日 (月) 22:26:18 JST


Revision: 1107
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1107
Author:   dhrname
Date:     2009-03-23 22:26:18 +0900 (Mon, 23 Mar 2009)

Log Message:
-----------
STGroupElementのchildrenの解放

Modified Paths:
--------------
    branches/04x/046/sie.js

Modified: branches/04x/046/sie.js
===================================================================
--- branches/04x/046/sie.js	2009-03-23 13:15:04 UTC (rev 1106)
+++ branches/04x/046/sie.js	2009-03-23 13:26:18 UTC (rev 1107)
@@ -343,7 +343,7 @@
 STGroupElement.prototype.set = function (sw,sh) {
   try{
   stvsetob(this.children,sw,sh);
-  this.children = null;
+  delete (this.children);
   } catch(e){stlog.addd(e,3145)}
 }
 STGroupElement.prototype.chset = SVGtoVML.prototype.chset;
@@ -454,8 +454,8 @@
     }
     tts.left = ptm.x - tancx;
     tts.top = ptm.y - tancy;
-  p = ptm = tancx = tancy = null;
-  this.textLength = textLength;
+    p = ptm = tancx = tancy = null;
+    this.textLength = textLength;
   } catch(e) {stlog.add(e,2831);}
 }
 //fontset フォントの大きさを幅と高さを使ってpx単位に変換




Sie-announce メーリングリストの案内
Back to archive index