TIDL c++ codes not copy bundle, when construct Bundle with "Bundle(bundle*)".
So bundle* shouldn't be freed after using "Bundle(bundle*)"
Change-Id: I9a0e9774bf897086081837e168560d389fa7c71f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
if (make_new_type) {
ret += "Bundle " + id + "(" + id + "_raw);\n";
} else {
- ret += id + " = " + id + "_raw;\n"
- + "bundle_free(" + id + "_raw);\n";
+ ret += id + " = " + id + "_raw;\n";
}
} else if (type.GetMetaType() != nullptr || type.IsUserDefinedType()) {
std::string n;