Re: [PATCH v2 3/8] midx: preliminary support for `--refs-snapshot`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 22, 2021 at 03:34:53PM -0700, Josh Steadmon wrote:
> > +		object = parse_object_or_die(&oid, NULL);
> > +		if (preferred)
> > +			object->flags |= NEEDS_BITMAP;
> > +
> > +		add_pending_object(revs, object, "");
> > +	}
> > +
> > +	fclose(f);
> > +	return 0;
> > +}
>
> `buf` needs to be released here.

Good eyes; thanks for noticing :-).

Thanks,
Taylor



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux