« Previous | Next » 

Revision 46feb4e8

ID46feb4e827e92a3fee1a6f7ea827624c35db386a
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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences