
Made some variables stack allocated so there is no change of memory leaking. There was no real reason to allocate memory from the heap for the variables in question since they did not need to persist outside the scope of the function.
Made some variables stack allocated so there is no change of memory leaking. There was no real reason to allocate memory from the heap for the variables in question since they did not need to persist outside the scope of the function.