Update device_tracer.cc

wangkuiyi-patch-1
guochaorong 7 years ago committed by GitHub
parent cde7db85b3
commit 310598f99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,8 +130,6 @@ void CUPTIAPI bufferRequested(uint8_t **buffer, size_t *size,
uint8_t *buf = reinterpret_cast<uint8_t *>(malloc(kBufSize + kAlignSize));
*size = kBufSize;
*buffer = ALIGN_BUFFER(buf, kAlignSize);
free(buf);
buf = NULL;
*maxNumRecords = 0;
}

Loading…
Cancel
Save