Fixed a memory leak on the master project

Removed code that allocated a new handle for sql while the handle was
already allocated causing a memory leak.
Merge pull request #28 from Thywin/HotFix-MasterMemoryLeak

Fixed a memory leak on the master project