projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b3a445
)
Destroy the decode session after use
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 15 Oct 2013 12:02:43 +0000
(13:02 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 15 Oct 2013 22:10:48 +0000
(23:10 +0100)
pv/data/decoder.cpp
patch
|
blob
|
history
diff --git
a/pv/data/decoder.cpp
b/pv/data/decoder.cpp
index 292430b6f0969290d206258bc2859fa10b0f041e..d8a538cbec9368ddffde92d474e2478d9027adbc 100644
(file)
--- a/
pv/data/decoder.cpp
+++ b/
pv/data/decoder.cpp
@@
-65,6
+65,9
@@
Decoder::~Decoder()
_decode_thread.join();
g_hash_table_destroy(_options);
+
+ if (_session)
+ srd_session_destroy(_session);
}
const srd_decoder* Decoder::get_decoder() const