CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 07/12/27 19:29:04
Modified files:
. : ChangeLog
libamf : sol.cpp
Log message:
Use delete[] to free array in writeFile.
This function is also missing a return (I'd guess a return true at the
end, but there
may be more to it than that), as are several boolean functions in
sol.cpp.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5265&r2=1.5266
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/sol.cpp?cvsroot=gnash&r1=1.7&r2=1.8
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5265
retrieving revision 1.5266
diff -u -b -r1.5265 -r1.5266
--- ChangeLog 26 Dec 2007 23:46:00 -0000 1.5265
+++ ChangeLog 27 Dec 2007 19:29:03 -0000 1.5266
@@ -1,3 +1,13 @@
+2007-12-27 Benjamin Wolsey <[EMAIL PROTECTED]>
+
+ * libamf/sol.cpp: use correct delete[].
+
+2007-12-27 Benjamin Wolsey <[EMAIL PROTECTED]>
+
+ * libbase/rc.cpp: fix lld format.
+ * doc/C/usermanual/usage/gnashrc.xml: document flashSystemOS,
+ flashSystemManufacturer, SOLSafeDir, SOLReadOnly.
+
2007-12-26 Rob Savoye <[EMAIL PROTECTED]>
* testsuite/misc-swfc.all/Makefile.am: Use SUFFIXES so the
Index: libamf/sol.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/sol.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libamf/sol.cpp 24 Dec 2007 18:21:03 -0000 1.7
+++ libamf/sol.cpp 27 Dec 2007 19:29:04 -0000 1.8
@@ -260,7 +260,7 @@
ptr += outsize;
}
if (foo) {
- delete foo;
+ delete[] foo;
}
}
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit