summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/src/marker.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker/src/marker.c')
-rw-r--r--xlators/features/marker/src/marker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c
index c1db70369a8..dc56714a94c 100644
--- a/xlators/features/marker/src/marker.c
+++ b/xlators/features/marker/src/marker.c
@@ -546,6 +546,9 @@ marker_create_frame (xlator_t *this, marker_local_t *local)
frame = create_frame (this, this->ctx->pool);
+ if (!frame)
+ return -1;
+
frame->local = (void *) local;
marker_start_setxattr (frame, this);