mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-10-01 03:43:51 +08:00
loggerd/RawLogger: fix memory leak in encode_frame (#22826)
This commit is contained in:
@@ -149,5 +149,6 @@ int RawLogger::encode_frame(const uint8_t *y_ptr, const uint8_t *u_ptr, const ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
av_packet_unref(&pkt);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user