-
There really is no need to allocate memory for a temporary buffer, copy the data to this buffer, and then use the buffer to initialize a std::string, before freeing the buffer. One of the constructors of std::string can handle the above for us. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
881299be