Re: [PATCH 4/5] Match FREE and MALLOC/STRDUP/REALLOC

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

 



On Wed, 2021-11-17 at 18:47 -0600, Benjamin Marzinski wrote:
> On Tue, Nov 16, 2021 at 10:00:53PM +0800, lixiaokeng wrote:
> > In _DEBUG_ mode, MALLOC/STRDUP/REALLOC and FREE will record
> > the memory usage. Match them.
> 
> This looks fine, but personally, I'd rather just have all the DEBUG
> memory code removed. If people want to check memory usage, there's
> always valgrind.

Ack. I'd rather see the MALLOC, FREE etc removed from the code.
I wouldn't want to add any more of them.

Good to see that you have similar feelings about this.

Martin

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux