未验证 提交 310598f9 编写于 作者: G guochaorong 提交者: GitHub

Update device_tracer.cc

上级 cde7db85
...@@ -130,8 +130,6 @@ void CUPTIAPI bufferRequested(uint8_t **buffer, size_t *size, ...@@ -130,8 +130,6 @@ void CUPTIAPI bufferRequested(uint8_t **buffer, size_t *size,
uint8_t *buf = reinterpret_cast<uint8_t *>(malloc(kBufSize + kAlignSize)); uint8_t *buf = reinterpret_cast<uint8_t *>(malloc(kBufSize + kAlignSize));
*size = kBufSize; *size = kBufSize;
*buffer = ALIGN_BUFFER(buf, kAlignSize); *buffer = ALIGN_BUFFER(buf, kAlignSize);
free(buf);
buf = NULL;
*maxNumRecords = 0; *maxNumRecords = 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册