2
0
forked from Ivasoft/DSView

Warnings fix

This commit is contained in:
DreamSourceLab
2017-05-31 14:19:47 +08:00
parent f87f5a235b
commit 3a71ddd72a
9 changed files with 24 additions and 15 deletions

View File

@@ -627,8 +627,9 @@ void DecoderStack::decode_proc()
_error_message = QString::fromLocal8Bit(error);
// Destroy the session
if (error)
if (error) {
g_free(error);
}
srd_session_destroy(session);
_decode_state = Stopped;
@@ -657,8 +658,9 @@ void DecoderStack::annotation_callback(srd_proto_data *pdata, void *decoder)
//lock_guard<mutex> lock(d->_output_mutex);
if (d->_no_memory)
if (d->_no_memory) {
return;
}
const Annotation a(pdata);