[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 08/13 v5] libxl: don't leak ptr in libxl_list_vm error case [and 1 more messages]
Matthew Daley writes ("Re: [PATCH 08/13 v5] libxl: don't leak ptr in libxl_list_vm error case [and 1 more messages]"): > On Sat, Dec 14, 2013 at 12:22 PM, Matthew Daley <mattd@xxxxxxxxxxx> wrote: > > For the record, for custom wrapper functions like these I usually > > prefer to stick as close to the existing functions' semantics as > > possible, not so much out of love for standards but out of desiring > > the absence of surprising behaviour. > > Although, I suppose changing things wrt. the standards would just > introduce new slightly-surprising behaviours vs. having existing > really-surprising ones... Precisely. And anyone surprised by the lack of a workaround for some standard misbeaviour of malloc or realloc would hopefully go and find the doc comment for the wrapper and be reassured. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |