Fixing a little memory leak