diff options
author | Søren Sandmann <sandmann@redhat.com> | 2008-03-12 21:56:05 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2008-03-12 21:56:05 -0400 |
commit | ef80f835a6229e5b6701a10e9474f38d5fac6311 (patch) | |
tree | fe3aff1c9e2452dd47e724ea6374aaec0b1da829 | |
parent | 354691051aeb569618f7a86afc5a3af204185bee (diff) |
Fix memory problem
-rw-r--r-- | siv.c | 2 | ||||
-rw-r--r-- | window.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -248,7 +248,7 @@ app_new (int argc, char **argv) if (g_path_is_absolute (option)) { - name = option; + name = g_strdup (option); } else { @@ -238,11 +238,11 @@ save_meta_data (Window *window) vadj = gtk_scrolled_window_get_vadjustment (get_widget (window, "scrolled_window")); hadj = gtk_scrolled_window_get_hadjustment (get_widget (window, "scrolled_window")); - + app_set_meta_data (window->app, window->filename, x, y, width, height, - bg, smooth, + smooth, bg, window->zoom_level, vadj->value, hadj->value); } |