diff options
author | Monsta <[email protected]> | 2014-12-02 14:22:35 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 10:38:37 +0100 |
commit | ae2b0bcee1db078730bd7ea1578df3b33642214a (patch) | |
tree | 5631efdaf6d6cad89c8d931961c30e6582f55bff /src/file-manager/fm-properties-window.c | |
parent | e94434691e9f6831072a3353bde9804509e0b624 (diff) | |
download | caja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.bz2 caja-ae2b0bcee1db078730bd7ea1578df3b33642214a.tar.xz |
file-manager: don't leak memory
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
-rw-r--r-- | src/file-manager/fm-properties-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c index ddec36b9..c6b59efc 100644 --- a/src/file-manager/fm-properties-window.c +++ b/src/file-manager/fm-properties-window.c @@ -3209,7 +3209,9 @@ create_pie_widget (FMPropertiesWindow *window) if (info) { fs_type = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE); if (fs_type != NULL) { - gtk_label_set_text (GTK_LABEL (fstype_label), g_strconcat (_("Filesystem type:"), " ", fs_type, NULL)); + gchar *fstype_text = g_strconcat (_("Filesystem type:"), " ", fs_type, NULL); + gtk_label_set_text (GTK_LABEL (fstype_label), fstype_text); + g_free (fstype_text); } g_object_unref (info); |