loggerd/RawLogger: fix memory leak in encode_frame (#22826)

pull/22831/head
Dean Lee 4 years ago committed by GitHub
parent ec935ef1c3
commit 0bd9aed82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/loggerd/raw_logger.cc

@ -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;
} }

Loading…
Cancel
Save