Current FTBFS packages (was Re: [ACTION REQUIRED] Retiring packages for Fedora 21)

Przemek Klosowski przemek.klosowski at nist.gov
Wed Jun 18 19:24:09 UTC 2014


On 06/18/2014 02:16 PM, Adam Jackson wrote:
> If I may vent for a moment, I'd like to point out exactly how spurious 
> the blocks usage was (and, implicitly, troll for code review): 
> http://pkgs.fedoraproject.org/cgit/hfsplus-tools.git/plain/hfsplus-tools-no-blocks.patch 

> That's right kids, the C89 version is less code even _before_ you 
> count the actual Blocks runtime.
I should know better than start an argument about programming with you, 
but isn't your patch leaking memory? I don't know how often hfsplus 
tools allocate ctx->preMessage but just overwriting the pointer seems 
off. At least  a comment, maybe?

-			if (bp)
-				ctx->postMessage = (fsckBlock_t)Block_copy(bp);
+ 			/* possible memory leak: unlinking old postMessage */
+			ctx->postMessage = bp;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140618/63d310ee/attachment.html>


More information about the devel mailing list