I suggest you ...

Allow Lint to see that constructor takes ownership of memory.

Lint sees that ownership of allocated memory is taken by a constructor if the owning object isn't "new'd". But if the owning object is "new'd", then Lint does not understand this. See the example below, which works in the online demo.