diff options
author | Mike Engber <engber@src.gnome.org> | 2000-07-06 21:31:18 +0000 |
---|---|---|
committer | Mike Engber <engber@src.gnome.org> | 2000-07-06 21:31:18 +0000 |
commit | 67d85d6f3aaee4759bbe8d1284f90829afb7f7b8 (patch) | |
tree | 4360581c0cdbb5d9a35eb345d7151a8a202b7ea5 /src/nautilus-zoom-control.c | |
parent | 1566f160fe57a00f1648883091294b79621c71c5 (diff) | |
download | nautilus-67d85d6f3aaee4759bbe8d1284f90829afb7f7b8.tar.gz |
NULL out preferred_zoom_levels in the destroy method (after freeing them)
* src/nautilus-zoom-control.c: (nautilus_zoom_control_destroy):
NULL out preferred_zoom_levels in the destroy method (after
freeing them) in case someone looks at them before finalize.
Diffstat (limited to 'src/nautilus-zoom-control.c')
-rw-r--r-- | src/nautilus-zoom-control.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-zoom-control.c b/src/nautilus-zoom-control.c index f4f152523..33550ea49 100644 --- a/src/nautilus-zoom-control.c +++ b/src/nautilus-zoom-control.c @@ -156,6 +156,7 @@ static void nautilus_zoom_control_destroy (GtkObject *object) { nautilus_g_list_free_deep (NAUTILUS_ZOOM_CONTROL (object)->preferred_zoom_levels); + NAUTILUS_ZOOM_CONTROL (object)->preferred_zoom_levels = NULL; NAUTILUS_CALL_PARENT_CLASS (GTK_OBJECT_CLASS, destroy, (object)); } |