diff options
author | Monsta <[email protected]> | 2014-11-08 14:41:10 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 10:38:37 +0100 |
commit | b1b2da32f2166adfdf239f3662ee309827f71e53 (patch) | |
tree | 13e7326274f253207fd5206d20c5d105ad4dd884 /libcaja-private/caja-file-operations.c | |
parent | 7aec152ba9f1f6af1706a5c7608bec317b8fbe79 (diff) | |
download | caja-b1b2da32f2166adfdf239f3662ee309827f71e53.tar.bz2 caja-b1b2da32f2166adfdf239f3662ee309827f71e53.tar.xz |
added checks for NULL pointer where it's needed
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r-- | libcaja-private/caja-file-operations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index 35ddf81e..e410e41f 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -5273,7 +5273,7 @@ link_file (CopyMoveJob *job, if (not_local) { secondary = f (_("Symbolic links only supported for local files")); details = NULL; - } else if (IS_IO_ERROR (error, NOT_SUPPORTED)) { + } else if (error != NULL && IS_IO_ERROR (error, NOT_SUPPORTED)) { secondary = f (_("The target doesn't support symbolic links.")); details = NULL; } else { |