Transcoder: Use g_free

This commit is contained in:
Jonas Kvinge 2022-02-06 18:47:23 +01:00
parent 848e41919d
commit 2211508061
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ void Transcoder::JobState::ReportError(GstMessage *msg) const {
QString message = QString::fromLocal8Bit(error->message);
g_error_free(error);
free(debugs);
g_free(debugs);
emit parent_->LogLine(tr("Error processing %1: %2").arg(QDir::toNativeSeparators(job_.input), message));