arcapos / luapgsql

Lua binding for PostgreSQL
108 stars 24 forks source link

Pop userdata values off the stack after use. #31

Closed mbalmer closed 8 years ago

mbalmer commented 8 years ago

Now that we use lua_newuserdata() for intermediate values, I think they should be popped of the stack after they have been used.

mbalmer commented 8 years ago

I committed a patch that maintains the stack.

daurnimator commented 8 years ago

There was no need for this. I see you've already backed it out.