fixing resources releasing

此提交包含在:
Evgeny
2018-01-22 17:02:46 -06:00
父節點 c00a0feb36
當前提交 9a9418ad16
共有 14 個檔案被更改,包括 145 行新增323 行删除
+2
查看文件
@@ -184,6 +184,8 @@ void output_results(FILE* file, const rocprofiler_feature_t* features, const uns
ptr = chunk_data + off;
size += chunk_size;
}
free(p->data.result_bytes.ptr);
fprintf(file, "size(%lu)\n", size);
if (size > p->data.result_bytes.size) {
fprintf(stderr, "SQTT data size is out of the result buffer size\n");