test crash fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c6f8970cc0
commit
879db4220b
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ char *CharPingPong(char *str) {
|
|||
}
|
||||
|
||||
// variables
|
||||
char *global_char = CPLUSPLUS_MSG;
|
||||
char *global_char = NULL;
|
||||
char global_char_array1[] = CPLUSPLUS_MSG;
|
||||
char global_char_array2[sizeof(CPLUSPLUS_MSG)+1] = CPLUSPLUS_MSG;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue