Skip to content

Commit

Permalink
memory leak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcliffe committed Sep 11, 2015
1 parent 45d6531 commit 7a01c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AppFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ AppFrame::AppFrame() :
demodSpectrumCanvas->attachWaterfallCanvas(demodWaterfallCanvas);
demodVisuals->Add(demodWaterfallCanvas, 6, wxEXPAND | wxALL, 0);
wxGetApp().getDemodSpectrumProcessor()->attachOutput(demodWaterfallCanvas->getVisualDataQueue());
demodWaterfallCanvas->getVisualDataQueue()->set_max_num_items(3);

demodTray->Add(demodVisuals, 30, wxEXPAND | wxALL, 0);

Expand Down

0 comments on commit 7a01c43

Please sign in to comment.