]> git.pld-linux.org Git - packages/gconf-editor.git/commitdiff
- fixes double free crasher
authorfreetz <freetz@pld-linux.org>
Fri, 19 May 2006 20:18:21 +0000 (20:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gconf-editor-memcorrup.patch -> 1.1

gconf-editor-memcorrup.patch [new file with mode: 0644]

diff --git a/gconf-editor-memcorrup.patch b/gconf-editor-memcorrup.patch
new file mode 100644 (file)
index 0000000..73b1462
--- /dev/null
@@ -0,0 +1,40 @@
+Index: src/gconf-editor-window.c
+===================================================================
+RCS file: /cvs/gnome/gconf-editor/src/gconf-editor-window.c,v
+retrieving revision 1.93
+diff -u -p -r1.93 gconf-editor-window.c
+--- src/gconf-editor-window.c  30 Jan 2006 06:15:01 -0000      1.93
++++ src/gconf-editor-window.c  17 Mar 2006 14:57:51 -0000
+@@ -950,7 +950,7 @@ gconf_editor_gconf_value_changed (GConfC
+               gconf_add_recent_key (window, key);
+       }
+-      g_free (value);
++      gconf_value_free (value);
+       g_free (key);
+       gtk_tree_path_free (path);
+ }
+Index: src/gconf-list-model.c
+===================================================================
+RCS file: /cvs/gnome/gconf-editor/src/gconf-list-model.c,v
+retrieving revision 1.16
+diff -u -p -r1.16 gconf-list-model.c
+--- src/gconf-list-model.c     10 Feb 2005 11:19:13 -0000      1.16
++++ src/gconf-list-model.c     17 Mar 2006 14:57:51 -0000
+@@ -83,7 +83,6 @@ gconf_list_model_notify_func (GConfClien
+               path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_model), &iter);
+               gtk_tree_model_row_inserted (GTK_TREE_MODEL (list_model), path, &iter);
+               gtk_tree_path_free (path);
+-
+       }
+       else {
+               list_model->stamp++;
+@@ -106,6 +105,8 @@ gconf_list_model_notify_func (GConfClien
+                       list_model->length--;
+                       g_hash_table_remove (list_model->key_hash, key);
+               }
++
++              gtk_tree_path_free (path);
+       }
+ }
This page took 0.101851 seconds and 4 git commands to generate.