Xcos MVC: fix valgrind detected invalid access 81/15881/5
authorClément DAVID <clement.david@scilab-enterprises.com>
Thu, 29 Jan 2015 11:14:48 +0000 (12:14 +0100)
committerClément DAVID <clement.david@scilab-enterprises.com>
Tue, 3 Feb 2015 16:55:32 +0000 (17:55 +0100)
commitddab08a5363f37ebc79f5c905c541f6c8e3755e2
tree29fd08c0657cc9e9fe4a0f07231582163d51b47e
parentf527cad141eeafd154017240503193c2a11f89bc
Xcos MVC: fix valgrind detected invalid access

 * Rewrite the opar / odstate encoding
 * fix new[] / delete mismatch

Change-Id: I4e2de62fec7bce3b0e1a0d02ce07be47b10ee4cc
scilab/modules/elementary_functions/src/cpp/sum.cpp
scilab/modules/scicos/src/cpp/model/Block.hxx
scilab/modules/scicos/src/cpp/view_scilab/ModelAdapter.cpp
scilab/modules/scicos/tests/unit_tests/model/Block_copy_list.dia.ref