nautilus/description-leak.patch
2008-09-21 04:38:24 +00:00

17 lines
764 B
Diff

diff -up nautilus-2.23.92/libnautilus-private/nautilus-open-with-dialog.c.description-leak nautilus-2.23.92/libnautilus-private/nautilus-open-with-dialog.c
--- nautilus-2.23.92/libnautilus-private/nautilus-open-with-dialog.c.description-leak 2008-09-20 23:57:57.000000000 -0400
+++ nautilus-2.23.92/libnautilus-private/nautilus-open-with-dialog.c 2008-09-20 23:58:29.000000000 -0400
@@ -907,10 +907,10 @@ set_uri_and_type (NautilusOpenWithDialog
description = g_content_type_get_description (mime_type);
if (description == NULL) {
- description = _("Unknown");
+ description = g_strdup (_("Unknown"));
}
- dialog->details->type_description = g_strdup (description);
+ dialog->details->type_description = description;
}
g_free (extension);