Commit b8a04a1a authored by Christophe Massiot's avatar Christophe Massiot

* src/stream_output/sap.c: Fixed small memory leak.

parent a0ed366e
......@@ -737,6 +737,7 @@ static char *convert_to_utf8( struct sap_handler_t *p_this, char *psz_local )
if( ret == (size_t)(-1) || i_in )
{
msg_Warn( p_this, "Failed to convert \"%s\" to UTF-8", psz_local );
free(psz_unicode);
return strdup( psz_local );
}
*psz_out = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment