diff options
author | Razvan Chitu <razvan.ch95@gmail.com> | 2016-08-30 20:16:35 +0300 |
---|---|---|
committer | Razvan Chitu <razvan.ch95@gmail.com> | 2016-08-30 20:27:49 +0300 |
commit | 18915442e63a99022fd2a0d39f1f0c4edbbdd8c7 (patch) | |
tree | de6d5fc818f365696bb736553408db390bfdc530 /src/nautilus-file-name-widget-controller.c | |
parent | 7ec3cbee243e52861d7cac2d7c13fc3eff55b758 (diff) | |
download | nautilus-18915442e63a99022fd2a0d39f1f0c4edbbdd8c7.tar.gz |
general: initialize smart pointers to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=770609
Diffstat (limited to 'src/nautilus-file-name-widget-controller.c')
-rw-r--r-- | src/nautilus-file-name-widget-controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-file-name-widget-controller.c b/src/nautilus-file-name-widget-controller.c index 7b2f21d3f..45135be95 100644 --- a/src/nautilus-file-name-widget-controller.c +++ b/src/nautilus-file-name-widget-controller.c @@ -136,7 +136,7 @@ file_name_widget_controller_process_new_name (NautilusFileNameWidgetController * gboolean *valid_name) { NautilusFileNameWidgetControllerPrivate *priv; - g_autofree gchar *name; + g_autofree gchar *name = NULL; gchar *error_message = NULL; NautilusFile *existing_file; priv = nautilus_file_name_widget_controller_get_instance_private (controller); |