aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-02-19 17:02:58 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-19 17:44:03 -0300
commitbe1f91e9f6849312a68b17a7677aa9133fbd45c3 (patch)
tree422468c0758576577c3effa4ff50de7dade169f3 /tests
parent5f80d538253837cf474fe10601374be40a2b8b98 (diff)
Fixing array deallocation in example
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/samplebinding/typesystem_sample.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 8fa684a83..9318ab6c7 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -623,7 +623,7 @@
%RETURN_TYPE retval = %CPPSELF.%FUNCTION_NAME(array);
if (array)
- delete array;
+ delete[] array;
%PYARG_0 = %CONVERTTOPYTHON[%RETURN_TYPE](retval);
}