| 110 | } |
| 111 | |
| 112 | void 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 | |
| 125 | void DsoSnapshot::first_payload(const sr_datafeed_dso &dso, uint64_t total_sample_count, |
| 126 | GSList *channels, bool instant, bool isFile) |