On Mon, 2009-03-09 at 15:04 -0300, Johan Hedberg wrote: > 2. Have the new function start like: > { > sdp_data_t *d; > > d = sdp_data_alloc_with_length(dtd, value, len); > if (!d) > return -1; FWIW, I just copied the coding style from the function 5 lines above it. Patches attached.