Re: [PATCH v2 2/2] test: Fix issues reported by cppcheck static analysis tool

Bertram Felgenhauer <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <20140822052739.GE18869@24f89f8c-e6a1-4e75-85ee-bb8a3743bb9f>
RAVI NANJUNDAPPA wrote:
> Hello Bertram, 
>  
> If you look at the pdf-mime-data.c file, 'free(data)' is handled by
> the callee at line numbers (from original file): 108, 153 and 159.

Sorry, I had not looked at the callers. It's just unusual that for a
failing function call to leave such cleanup to its callers. Is there
any reason for doing so in this case?

Cheers,

Bertram
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.