ImFileDialog icon indicating copy to clipboard operation
ImFileDialog copied to clipboard

fixed use after free

Open kamisori opened this issue 1 year ago • 0 comments

ran my app with valgrind and it found a use after free with line 930 to blame which drops p before it is then used in lines 942, 944, 949 and 951:

930:

m_content.clear(); // p == "" after this line, due to reference

kamisori avatar Feb 21 '24 10:02 kamisori