Resolves memory failure in NonlinearProgramSnoptmex on win32

yes.  not sure if it makes a big deal, but the previous version just looked wrong to me.