MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / free_data

Method free_data

DSView/pv/data/dsosnapshot.cpp:112–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void DsoSnapshot::free_data()
113{
114 Snapshot::free_data();
115
116 for (int i=0; i<(int)_ch_data.size(); i++)
117 {
118 void *p = _ch_data[i];
119 free(p);
120 }
121
122 _ch_data.clear();
123}
124
125void DsoSnapshot::first_payload(const sr_datafeed_dso &dso, uint64_t total_sample_count,
126 GSList *channels, bool instant, bool isFile)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected