InteractiveAdvertisingBureau / iabtcf-es

Official compliant tool suite for implementing the Transparency and Consent Framework (TCF) v2.0. The essential toolkit for CMPs.
Apache License 2.0
132 stars 96 forks source link

Use a variable to store event.source and manually deallocate after tc… #455

Open nching-publift opened 3 months ago

nching-publift commented 3 months ago

Use a variable to store event.source and manually deallocate after tcfapi call

HeinzBaumann commented 2 months ago

@nching-publift Hi there, I am catching up after some deserved vacation. :) Can you add a rational for this change, please?

nching-publift commented 1 month ago

I observed this memory leak while investigation high memory utilisation on a webpage that used this code snippet from a third party CMP library