Detect global variable leaks