Commit a0d04a2f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

smooth: mismatched delete/free

parent 0ff1f666
......@@ -123,7 +123,7 @@ void ForgedInitSegment::setWaveFormatEx(const std::string &waveformat)
size_t i_data;
uint8_t *p_data = HexDecode(waveformat, &i_data);
fromWaveFormatEx(p_data, i_data);
delete p_data;
free(p_data);
}
void ForgedInitSegment::setCodecPrivateData(const std::string &extra)
......
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