Join GitHub today
Bugfix 72791: fix memory leak in PDO persistent connections #2067
referenced this pull request
Aug 9, 2016
@keyurdg I realize that it's a real leak, the question is more whether this is a "real" fix, or whether it effectively only suppresses the valgrind warning. I'm asking because I don't fully understand the reason why it's necessary to delay this free to the end of the request. Doesn't this indicate that refcounting is going wrong somewhere else?
@nikic just to clarify, the old PR actually free'd the memory. Without a list to save pointer references in, all references to the older
I do take the point that within a request the memory was not free'd as soon as feasible.
In any case, no longer relevant :)