The following reply was made to PR bin/171634; it has been noted by GNATS. From: Erik Cederstrand <[email protected]> To: [email protected] Cc: [email protected] Subject: Re: bin/171634: Memory leak in /bin/df Date: Fri, 14 Sep 2012 13:34:20 +0200
Hello Xin Li, Den 14/09/2012 kl. 10.14 skrev Xin Li <[email protected]>: > I believe this is a false positive. There is no reason to release > memory right before quit, it's a waste of time and OS reclaims the > memory regardless. I raised question this on the Clang list. Joerg Sonnenberger replied = this: I wouldn't classify it as false positive. E.g. it is perfectly sane=20 to redefine main as macro to use in a larger program. It's a one-liner and it's done anyway, albeit implicitly, so maybe it's = not too bad to make the free() explicit? Erik= _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
