Whamcloud - gitweb
- fixed memory leak
authoryury <yury>
Mon, 22 Nov 2004 07:15:56 +0000 (07:15 +0000)
committeryury <yury>
Mon, 22 Nov 2004 07:15:56 +0000 (07:15 +0000)
lustre/obdfilter/filter.c

index 4a36717..d6a225a 100644 (file)
@@ -2169,7 +2169,6 @@ static void filter_destroy_precreated(struct obd_export *exp, struct obdo *oa,
         LASSERT(oa->o_gr != 0);
         LASSERT(oa->o_valid & OBD_MD_FLGROUP);
 
-        OBD_ALLOC(doa, sizeof(*doa));
        doa = obdo_alloc();
         if (doa == NULL) {
                 CERROR("cannot allocate doa, error %d\n",