diff options
author | Tim King <taking@cs.nyu.edu> | 2018-02-06 18:25:45 -0800 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2018-02-06 18:25:45 -0800 |
commit | 341728ed95dcff20fd75bb7aef4e0b7773f63e07 (patch) | |
tree | b10e5ecbd5562adf78f8540452b6c4debdbf3a0a /contrib | |
parent | ed29a5dae12e11d7b3bc2e19b84a3990e3840a8c (diff) |
Fixes two memory leaks coming from Transf. (#1564)
First, it adds a virtual destructor so the subclasses will get cleaned up. Second, it wraps the returned
pointer in a unique_ptr. Should fix ASAN failures in the nightly run.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions