summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-06-30 11:26:15 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-30 11:26:15 +0200
commit407f964a390c452bfbd773a721ecbe2609ce4b88 (patch)
treed7ca025557853f29da85b7797b4d8ec35f4822d8 /metadata
parentf4250f3fcd178ad4f15ba5a1672ecbca1e2b67c2 (diff)
downloadgvfs-407f964a390c452bfbd773a721ecbe2609ce4b88.tar.gz
Plug some leaks and fix some strings.
Diffstat (limited to 'metadata')
-rw-r--r--metadata/meta-daemon.c5
-rw-r--r--metadata/metabuilder.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/metadata/meta-daemon.c b/metadata/meta-daemon.c
index 226425de..93e92a4c 100644
--- a/metadata/meta-daemon.c
+++ b/metadata/meta-daemon.c
@@ -488,7 +488,7 @@ register_name (DBusConnection *conn,
}
else if (ret == DBUS_REQUEST_NAME_REPLY_EXISTS)
{
- g_printerr ("VFS daemon already running, exiting.\n");
+ g_printerr ("Metadata daemon already running, exiting.\n");
return FALSE;
}
else if (ret != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER)
@@ -662,6 +662,7 @@ metadata_message (DBusConnection *connection,
g_free (treefile);
g_free (path);
+ g_free (dest_path);
}
if (reply)
@@ -702,7 +703,7 @@ main (int argc, char *argv[])
g_set_application_name (_("GVFS Metadata Daemon"));
context = g_option_context_new ("");
- g_option_context_set_summary (context, _("Main daemon for GVFS"));
+ g_option_context_set_summary (context, _("Metadata daemon for GVFS"));
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
diff --git a/metadata/metabuilder.c b/metadata/metabuilder.c
index 76ab6fb4..963586d7 100644
--- a/metadata/metabuilder.c
+++ b/metadata/metabuilder.c
@@ -998,6 +998,7 @@ metadata_create_static (MetaBuilder *builder,
write_metadata (out, builder, key_hash);
g_hash_table_destroy (key_hash);
+ g_list_free (keys);
return out;
}