summaryrefslogtreecommitdiff
path: root/nautilus-desktop/nautilus-desktop-directory.c
diff options
context:
space:
mode:
authorRazvan Chitu <razvan.ch95@gmail.com>2016-08-30 20:16:35 +0300
committerRazvan Chitu <razvan.ch95@gmail.com>2016-08-30 20:27:49 +0300
commit18915442e63a99022fd2a0d39f1f0c4edbbdd8c7 (patch)
treede6d5fc818f365696bb736553408db390bfdc530 /nautilus-desktop/nautilus-desktop-directory.c
parent7ec3cbee243e52861d7cac2d7c13fc3eff55b758 (diff)
downloadnautilus-18915442e63a99022fd2a0d39f1f0c4edbbdd8c7.tar.gz
general: initialize smart pointers to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=770609
Diffstat (limited to 'nautilus-desktop/nautilus-desktop-directory.c')
-rw-r--r--nautilus-desktop/nautilus-desktop-directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nautilus-desktop/nautilus-desktop-directory.c b/nautilus-desktop/nautilus-desktop-directory.c
index cfa125e69..4f8de90df 100644
--- a/nautilus-desktop/nautilus-desktop-directory.c
+++ b/nautilus-desktop/nautilus-desktop-directory.c
@@ -533,7 +533,7 @@ real_new_file_from_filename (NautilusDirectory *directory,
static gboolean
real_handles_location (GFile *location)
{
- g_autofree gchar *uri;
+ g_autofree gchar *uri = NULL;
uri = g_file_get_uri (location);