Menu

#4 dialog resource never freed conduct to memory leak.

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

file: dialogs.gtk and all other *.dlg that depend on it
problem:
will generate resourse leakage as the dialogs are only hidden not destroyed.
for exemple if an application call the YesNo() function in yesno.dlg each time a new instance create and that instance is never released() as run() function in dialogs.gtk only hide the dialog instead of destroying it.

see exemple 4 that show how to handle dialogs destruction at user response at the following URL:
http://library.gnome.org/devel/gtk/unstable/GtkDialog.html

Jacques Deschênes

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.