diff options
author | rbuj <[email protected]> | 2020-11-26 11:43:19 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-05 20:21:55 +0100 |
commit | 4539dca7e9317ea1ec022aa37ae84834217c5ac3 (patch) | |
tree | 3a1a1c54a824c89803b529fd267a25ff25025517 /plugins | |
parent | acca2683cf45a0462b32e9a5f668188b79fc0377 (diff) | |
download | pluma-4539dca7e9317ea1ec022aa37ae84834217c5ac3.tar.bz2 pluma-4539dca7e9317ea1ec022aa37ae84834217c5ac3.tar.xz |
Use g_clear_error
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/filebrowser/pluma-file-browser-widget.c | 3 |
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); } } |