Fixed possible mem leak.
Merge branch 'master' of github.com:matthias-springer/cse199-db-context-queries