# HG changeset patch # User nadvornik # Date 1213641455 0 # Node ID cb957189e723cf044964057cd6e130445314cfdf # Parent 14520c3a91f8e2c452fb14c5e37ab73b405fb77d another try to free layout at exit diff -r 14520c3a91f8 -r cb957189e723 src/main.c --- 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(); }