ocfs2: fix possible double free in ocfs2_reflink_xattr_rec
[linux-2.6-block.git] / fs / ocfs2 / xattr.c
index 18330f5b57be01c3b8730f578df881495281d180..6ce0686eab7202b29cd9f29a39e6692b8a1d618a 100644 (file)
@@ -6802,7 +6802,7 @@ out:
        if (ret) {
                if (*meta_ac) {
                        ocfs2_free_alloc_context(*meta_ac);
-                       meta_ac = NULL;
+                       *meta_ac = NULL;
                }
        }