fix a memory leak in ext/gdbm