defect 1065 patch - was :Re: [Openais] 0.70.1:
saCkptSectionIterationFinalize() does not free all memory
Steven Dake
sdake at mvista.com
Tue Jan 31 15:22:01 PST 2006
Bjorn
Here is a patch for the problem. Thanks for the bug report.
The problem was that memory was allocated, but not freed during any
error condition in IterationNext.
Regards
-steve
On Tue, 2006-01-31 at 15:16 +0200, Bjorn Andersson wrote:
> I ran my app with valgrind which revealed that one
> iteratorSectionIdListEntry allocated in saCkptSectionIterationNext()
> at line 1352 in lib/ckpt.c is not freed even though
> saCkptSectionIterationFinalize() is called. I have not yet had a
> deeper look into it, but could it be that the last entry in the list
> is not freed in the Finalize() function?
>
> Bjorn
>
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
-------------- next part --------------
A non-text attachment was scrubbed...
Name: defect-1065.patch
Type: text/x-patch
Size: 2078 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20060131/defb8381/defect-1065-0001.bin
More information about the Openais
mailing list