Re: [Valgrind-users] Possibly Lost Error

2024-11-13 Thread Paul Floyd via Valgrind-users
On 12-11-24 22:22, William Chan (BLOOMBERG/ 919 3RD A) wrote: Hi, I have a program that induces a possibly lost warning via an interior pointer but I deallocate the pointer properly. Is Valgrind supposed to be able to know that an interior pointer is freed? I'm trying to determine whether

Re: [Valgrind-users] Possibly Lost Error

2024-11-12 Thread David Anderson via Valgrind-users
On 11/12/24 13:22, William Chan (BLOOMBERG/ 919 3RD A) wrote: Hi, I have a program that induces a possibly lost warning via an interior pointer but I deallocate the pointer properly. Is Valgrind supposed to be able to know that an interior pointer is freed? I'm trying to determine whether or not

[Valgrind-users] Possibly Lost Error

2024-11-12 Thread William Chan (BLOOMBERG/ 919 3RD A)
Hi, I have a program that induces a possibly lost warning via an interior pointer but I deallocate the pointer properly. Is Valgrind supposed to be able to know that an interior pointer is freed? I'm trying to determine whether or not my possibly lost warning is safe to ignore. Thanks, William