https://bugs.kde.org/show_bug.cgi?id=400782

--- Comment #3 from Tom Hughes <t...@compton.nu> ---
That is lost yes because the only pointer to it is on the stack and once you
exit that pointer is no longer in scope.

You're right it's not strictly necessary to free that but it's a fairly unusual
thing to see in real world programs because it can only really apply to things
allocated by main or trivial children of main so in a program of any size that
isn't things will normally work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to