summaryrefslogtreecommitdiff
path: root/plugins/filebrowser
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/filebrowser')
-rw-r--r--plugins/filebrowser/pluma-file-browser-widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c
index 7d41e74c..5056999b 100644
--- a/plugins/filebrowser/pluma-file-browser-widget.c
+++ b/plugins/filebrowser/pluma-file-browser-widget.c
@@ -2459,8 +2459,7 @@ directory_open (PlumaFileBrowserWidget *obj,
PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY,
error->message);
- g_error_free (error);
- error = NULL;
+ g_clear_error (&error);
}
}