Fix obvious memory leaks in the std_vector example

Delete the class when we're done with it.
This commit is contained in:
Vadim Zeitlin 2016-04-22 01:53:35 +02:00
commit 4ba57e577a

View file

@ -35,5 +35,7 @@ int main() {
printf("%s %d\n", A_name_get(a), A_value_get(a));
}
delete_Klass(klass);
SWIG_exit(0);
}