summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>2000-09-10 21:52:01 +0000
committerEskil Heyn Olsen <eskil@src.gnome.org>2000-09-10 21:52:01 +0000
commit82522a14bc6b1ac9ed59e49656efc6793b9703bb (patch)
tree052ea15bd5022456f06dd087e5292613a82fd43c /components
parent358c43c3e15d5ad33e429aa271777779dfef8126 (diff)
downloadnautilus-82522a14bc6b1ac9ed59e49656efc6793b9703bb.tar.gz
Free the private parts of EazelInstall. (bug 2717)
* components/services/install/lib/eazel-install-object.c: (eazel_install_finalize): Free the private parts of EazelInstall. (bug 2717)
Diffstat (limited to 'components')
-rw-r--r--components/services/install/lib/eazel-install-object.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/components/services/install/lib/eazel-install-object.c b/components/services/install/lib/eazel-install-object.c
index 72c7bc0f5..e8e3bb24a 100644
--- a/components/services/install/lib/eazel-install-object.c
+++ b/components/services/install/lib/eazel-install-object.c
@@ -219,15 +219,33 @@ eazel_install_finalize (GtkObject *object)
}
#endif
+ trilobite_debug ("into eazel_install_finalize");
+
g_hash_table_destroy (service->private->name_to_package_hash);
g_free (service->private->logfilename);
+ g_list_foreach (service->private->downloaded_files, (GFunc)g_free, NULL);
+ g_list_free (service->private->downloaded_files);
+ g_list_foreach (service->private->root_dirs, (GFunc)g_free, NULL);
+ g_list_free (service->private->root_dirs);
+
+ g_list_free (service->private->transaction);
+
+ g_free (service->private->transaction_dir);
+ g_free (service->private->cur_root);
transferoptions_destroy (service->private->topts);
installoptions_destroy (service->private->iopts);
+ switch (service->private->package_system) {
+ case EAZEL_INSTALL_USE_RPM:
+ g_hash_table_destroy (service->private->packsys.rpm.dbs);
+ break;
+ }
+
if (GTK_OBJECT_CLASS (eazel_install_parent_class)->finalize) {
GTK_OBJECT_CLASS (eazel_install_parent_class)->finalize (object);
}
+ trilobite_debug ("out eazel_install_finalize");
}
void eazel_install_unref (GtkObject *object)