On Thu, Jun 21, 2007 at 09:02:06AM +0000, Tomas Groth wrote:

> -             delete [] sounddata->data;
> +             if (sounddata->data_size > 0) delete [] sounddata->data;

Please consider using boost::scoped_array<> for managing array pointers.
--strk;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to