srdb1: fix memory leak in db-id

- When getting an existing connection from the pool, free the newly
  created db-id as the pool connection already has a reference to the
  existing one.  Fixes FS#436
(cherry picked from commit 69de17d3bb1d032f9a41752362194d718336e20d)