« Previous | Next » 

Revision 46feb4e8

Parent bd5a5de4
Child 4530a715

Added by Philip Withnall about 7 years ago

utils: Simplify janus_string_replace() API

Remove the modified parameter, and instead automatically free() the
message string if it needs reallocating. This is safe, as the caller
should be using free() to free it anyway (rather than any other
memory-free function), since we return values explicitly using the libc
memory allocation functions.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences