Yes, just resetting it leaves it open to someone with a cleanroom.
Just download a memory wiper, and use that before you turn it in. There are plenty in the app store. The wiper will fill the memory with garbage, which will overwrite your data. Make sure to select to fill empty space, too. It is always important, but particularly since your data is deleted already. On chip memory randomizes locations in order to extend its lifetime, so even saving the same file can move its location. Make sure to write 100% of the space.