Fixing a leak analyzed by CLANG.