Il giorno 03/ago/2011, alle ore 15:37, Riccardo Magliocchetti ha scritto:

> Hello,
> 
> cppcheck reports that buf is leaked at utils.c:2735. After some code review 
> it looks it is right and the same bug is there on linux too.
> 
> It happens only once at startup time so no big deal but still.
> 
> Checked that uwsgicc still loads fine after the patch, cannot test other 
> platforms. Please review.
> 

Cannot be freed as its pointer will be mapped to uwgsi.binary_path that must be 
available for the whole server life-cycle.

Is there a way to mark this kind of allocation to make cppcheck happy ?

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to