[nautilus/wip/ernestask/leak-plugging: 3/11] file-utilities: Add missing else statement
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/leak-plugging: 3/11] file-utilities: Add missing else statement
- Date: Sun, 7 Oct 2018 07:35:59 +0000 (UTC)
commit bbdac9d461f169ed274d0815e3879c0bf21545dc
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]