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