[nautilus/wip/ernestask/leak-plugging: 5/12] file-utilities: Add missing else statement
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/leak-plugging: 5/12] file-utilities: Add missing else statement
- Date: Mon, 8 Oct 2018 15:08:06 +0000 (UTC)
commit c4503fc5a0cdc1f27dffd9c6e789c28bdd8fa971
Author: Ernestas Kulik <ernestask gnome org>
Date: Fri Oct 5 18:43:20 2018 +0300
file-utilities: Add missing else statement
a9c446afe262b7989bc17ef1f9ab19931db8dede inadvertently removed it and
that is causing leaks that don’t make sense at first.
src/nautilus-file-utilities.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/nautilus-file-utilities.c b/src/nautilus-file-utilities.c
index 40acff938..f8afabbfe 100644
--- a/src/nautilus-file-utilities.c
+++ b/src/nautilus-file-utilities.c
@@ -326,6 +326,7 @@ nautilus_compute_title_for_location (GFile *location)
{
title = g_strdup (_("Starred"));
}
+ else
{
title = nautilus_file_get_description (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]