Fixed #4237 (False positive: (error) Memory Leak: data (references and pointer aliases))