projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MainWindow, View::View: Fix two memory errors reported by valgrind
[pulseview.git]
/
pv
/
devices
/
inputfile.hpp
diff --git
a/pv/devices/inputfile.hpp
b/pv/devices/inputfile.hpp
index 9b9aee88dcbad288f12642397a6b6921d9e83a29..e6b57033a02720b31aac2e52dadda5d8262a563e 100644
(file)
--- a/
pv/devices/inputfile.hpp
+++ b/
pv/devices/inputfile.hpp
@@
-53,8
+53,11
@@
public:
private:
const std::shared_ptr<sigrok::Context> context_;
private:
const std::shared_ptr<sigrok::Context> context_;
- const std::shared_ptr<sigrok::Input> input_;
+ const std::shared_ptr<sigrok::InputFormat> format_;
+ const std::map<std::string, Glib::VariantBase> options_;
+ std::shared_ptr<sigrok::Input> input_;
+ std::ifstream *f;
std::atomic<bool> interrupt_;
};
std::atomic<bool> interrupt_;
};