On Wed, Feb 3, 2021 at 1:15 AM Martin Sebor wrote:
>
> On 2/2/21 2:29 PM, David Malcolm wrote:
> > On Tue, 2021-02-02 at 12:57 -0700, Martin Sebor via Gcc-patches wrote:
> >> The strlen pass initializes its pointer_query member object with
> >> a cache consisting of a couple of vec's. Because vec
On 2/2/21 2:29 PM, David Malcolm wrote:
On Tue, 2021-02-02 at 12:57 -0700, Martin Sebor via Gcc-patches wrote:
The strlen pass initializes its pointer_query member object with
a cache consisting of a couple of vec's. Because vec doesn't
implement RAII its memory must be explicitly released to a
On Tue, 2021-02-02 at 12:57 -0700, Martin Sebor via Gcc-patches wrote:
> The strlen pass initializes its pointer_query member object with
> a cache consisting of a couple of vec's. Because vec doesn't
> implement RAII its memory must be explicitly released to avoid
> memory leaks. The attached pa
The strlen pass initializes its pointer_query member object with
a cache consisting of a couple of vec's. Because vec doesn't
implement RAII its memory must be explicitly released to avoid
memory leaks. The attached patch adds a dtor to
the strlen_dom_walker to do that.
Tested on x86_64-linux a