Mercurial > geeqie.yaz
changeset 840:cb957189e723
another try to free layout at exit
author | nadvornik |
---|---|
date | Mon, 16 Jun 2008 18:37:35 +0000 |
parents | 14520c3a91f8 |
children | 64ef209bcded |
files | src/main.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.c Sun Jun 15 21:52:15 2008 +0000 +++ b/src/main.c Mon Jun 16 18:37:35 2008 +0000 @@ -569,6 +569,7 @@ { gchar *path; gchar *pathl; + LayoutWindow *lw = NULL; remote_close(remote_connection); @@ -584,6 +585,11 @@ g_free(pathl); g_free(path); + if (layout_valid(&lw)) + { + layout_free(lw); + } + gtk_main_quit(); }