doing as advised.

advice is given here: https://developer.mozilla.org/en-US/docs/Web/API/URL.revokeObjectURL