fixes missing variable (#193)

Tá an tiomantas seo le fáil i:
Lakshmi Kumar údaraithe agus GitHub tiomanta 2024-01-22 15:18:02 -05:00
1 tuismitheoir 1393311656
tiomantas 6ae9ba8be2
1 comhad athraithe
+2
+2
Féach ar an gComhad
@@ -873,6 +873,8 @@ bool RocVideoDecoder::ReleaseInternalFrames() {
while (!vp_frames_q_.empty()) {
std::lock_guard<std::mutex> lock(mtx_vp_frame_);
DecFrameBuffer *fb = &vp_frames_q_.front();
void *mapped_frame_ptr = fb->frame_ptr;
if (mapped_frame_ptr != nullptr) {
HIP_API_CALL(hipFree(mapped_frame_ptr));
}