kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Fixed error if -h
Fixed a typo and some necessary allocation to avoid errors on deleting M10Decoder object before everything is allocatedpull/108/head
rodzic
ae7dd23004
commit
fac1c2516c
|
@ -15,13 +15,16 @@ M10Decoder::M10Decoder() {
|
|||
m10GTop = new M10GTopParser();
|
||||
m10Ptu = new M10PtuParser();
|
||||
m10Parser = m10GTop;
|
||||
|
||||
frameSamples = NULL;
|
||||
audioFile = NULL;
|
||||
}
|
||||
|
||||
M10Decoder::~M10Decoder() {
|
||||
delete m10GTop;
|
||||
delete m10Ptu;
|
||||
|
||||
if (audioFile)
|
||||
if (frameSamples)
|
||||
delete frameSamples;
|
||||
|
||||
if (audioFile)
|
||||
|
|
Ładowanie…
Reference in New Issue