gdbc memory leak