[Sie-announce] SIEコード [1072] radialGradient要素において、null解放の整理

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 13日 (金) 22:16:20 JST


Revision: 1072
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1072
Author:   dhrname
Date:     2009-03-13 22:16:20 +0900 (Fri, 13 Mar 2009)

Log Message:
-----------
radialGradient要素において、null解放の整理

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

Modified: branches/04x/045/sie.js
===================================================================
--- branches/04x/045/sie.js	2009-03-13 12:00:13 UTC (rev 1071)
+++ branches/04x/045/sie.js	2009-03-13 13:16:20 UTC (rev 1072)
@@ -1251,6 +1251,7 @@
   } catch(e) {stlog.add(e,749); angle = 270;}
     ele.setAttribute("type", "gradient");
     ele.setAttribute("angle", angle + "");
+    x1 = y1 = x2 = y2 = angle = null;
   } else if (type === "gradientRadial") {
   try{
     ele.setAttribute("type", "gradientTitle");
@@ -1302,7 +1303,7 @@
   } else {
     return false;
   }
-  x1 = y1 = type = color = colors = opacity = null;
+  stops = type = color = colors = opacity = null;
   return false;
 }
 




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