Delete unnecessary frame allocation from frame.cc

This commit is contained in:
Aaro Altonen 2019-05-29 12:53:03 +03:00
parent 73ba634774
commit fa0da917d1
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ kvz_rtp::frame::rtp_frame *kvz_rtp::frame::alloc_frame(size_t payload_len, frame
LOG_DEBUG("Allocating frame. Size %zu, Type %u", payload_len, type);
kvz_rtp::frame::rtp_frame *frame = new kvz_rtp::frame::rtp_frame;
kvz_rtp::frame::rtp_frame *frame;
size_t header_len;
switch (type) {