Menu

#3 pointer never freed again

open
nobody
None
5
2012-09-14
2007-12-30
Anonymous
No

in buttons.gtk in function button()
str(param) allocate memory for a string but no reference to that pointer is kept so it will never be freed. Shoulded this pointer be freed immedialety after the function call as it no more needed I think?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.