projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d3e99
)
another try to free layout at exit
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 16 Jun 2008 18:37:35 +0000
(18:37 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 16 Jun 2008 18:37:35 +0000
(18:37 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
0c679ea
..
fd9ed90
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-569,6
+569,7
@@
static void exit_program_final(void)
{
gchar *path;
gchar *pathl;
+ LayoutWindow *lw = NULL;
remote_close(remote_connection);
@@
-584,6
+585,11
@@
static void exit_program_final(void)
g_free(pathl);
g_free(path);
+ if (layout_valid(&lw))
+ {
+ layout_free(lw);
+ }
+
gtk_main_quit();
}