From: yury Date: Mon, 22 Nov 2004 07:15:56 +0000 (+0000) Subject: - fixed memory leak X-Git-Tag: v1_7_100~1786 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d3030ad7fcf5bdca3dcda4b0149f32850f6b4783;p=fs%2Flustre-release.git - fixed memory leak --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 4a36717..d6a225a 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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",