nautilus r14696 - in branches/gnome-2-24: . libnautilus-private
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14696 - in branches/gnome-2-24: . libnautilus-private
- Date: Mon, 6 Oct 2008 17:02:49 +0000 (UTC)
Author: matthiasc
Date: Mon Oct 6 17:02:48 2008
New Revision: 14696
URL: http://svn.gnome.org/viewvc/nautilus?rev=14696&view=rev
Log:
2008-10-06 Matthias Clasen <mclasen redhat com>
Bug 553084 â leaks content type description
* libnautilus-private/nautilus-open-with-dialog.c (set_uri_and_type):
Don't leak the content type description.
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c
Modified: branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c
==============================================================================
--- branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c (original)
+++ branches/gnome-2-24/libnautilus-private/nautilus-open-with-dialog.c Mon Oct 6 17:02:48 2008
@@ -907,10 +907,10 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]