Fixed typo in ARGS_CLEANUP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
449f38b57e
commit
345b024712
@ -263,7 +263,7 @@ long wxExecute( wxChar **argv, bool sync, wxProcess *process )
|
||||
|
||||
// this macro will free memory we used above
|
||||
#define ARGS_CLEANUP \
|
||||
for ( mb_argc = 0; mb_argb[mb_argc]; mb_argc++ ) \
|
||||
for ( mb_argc = 0; mb_argv[mb_argc]; mb_argc++ ) \
|
||||
free(mb_argv[mb_argc])
|
||||
#else // ANSI
|
||||
// no need for cleanup
|
||||
|
Loading…
Reference in New Issue
Block a user