Hi Quinn, thanks for your response. I can confirm that with your code, I don't see an unbounded increase in memory usage.
I've made some edits, and have produced two minimal examples, based on yours, that do show unbounded memory usage.
LeakTestCtor.c (attached) is a modification to your library code that adds a library constructor and destructor function. LeakTestGlobal.cpp (attached) adds a global vector. Neither are leaking. Can you reproduce the increasing memory usage?
Thanks,
Chris
LeakTestGlobal.cpp
LeakTestCtor.c
Topic:
Developer Tools & Services
SubTopic:
General
Tags: