[nautilus] nautilus-file: fix memory leak



commit 97048dd71114fbef99c191b6c2337f0fe09de277
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Feb 18 10:04:03 2015 +0100

    nautilus-file: fix memory leak

 libnautilus-private/nautilus-file.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index e472704..70940dc 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -4789,6 +4789,8 @@ nautilus_file_get_date_as_string (NautilusFile       *file,
                                }
                        }
                }
+
+               g_date_time_unref (now);
        } else {
                format = N_("%c");
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]