diff options
-rw-r--r-- | xlators/features/trash/src/trash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/trash/src/trash.c b/xlators/features/trash/src/trash.c index 4eecaf241c..00e99b6266 100644 --- a/xlators/features/trash/src/trash.c +++ b/xlators/features/trash/src/trash.c @@ -218,7 +218,8 @@ append_time_stamp (char *name) void trash_local_wipe (trash_local_t *local) { - GF_VALIDATE_OR_GOTO ("trash", local, out); + if (!local) + goto out; loc_wipe (&local->loc); loc_wipe (&local->newloc); |