On 19/06/14 12:03, Stefan Schmidt wrote:
> Hello.
>
> I stumpled over this several times before but always forgot to bring
> it up. There are 7 coverity issues related to resource leaks for these
> two mentioned in the subject.
>
> CID 1193245 1193247 1194717 1191929 1191930 1191934 1191977
>
> Looking at the inline function and the macros shows that resources are
> allocated. What puzzles me now is who is in charge of freeeing them
> again? I can't see and macro for it and also from a data flow view I
> wonder where the free'ing should actually happen.
>
> Would be great if our EO experts could shed some light on this and fix
> it up.
>

I honestly don't know why coverity is complaining. Those macros allocate 
info, append to a list, and then the functions that call them should 
return the lists for the caller to use. Clouseau is a good example user 
of this API. Maybe there's something wrong in those specific coverity 
instances, not sure. However the last time I looked everything was solid.

--
Tom.



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to