Whamcloud - gitweb
Branch b_release_1_8_1
authortianzy <tianzy>
Thu, 4 Jun 2009 07:26:56 +0000 (07:26 +0000)
committertianzy <tianzy>
Thu, 4 Jun 2009 07:26:56 +0000 (07:26 +0000)
fix a fake mem leak
b=18574
i=johann

lustre/lvfs/fsfilt_ext3.c

index f25b372..6a1dcf1 100644 (file)
@@ -2061,7 +2061,7 @@ static int fsfilt_ext3_quotacheck(struct super_block *sb,
                                 cqget(sb, qctxt->qckt_hash, &qctxt->qckt_list,
                                       dqid->di_id, i,
                                       qctxt->qckt_first_check[i]);
-                        kfree(dqid);
+                        OBD_FREE_PTR(dqid);
                 }
         }
 #endif