lib/fetch/common.c: fix CID 62681 correctly (resource leak).