[raop] Fixup forgotten free of pktbuffer
This commit is contained in:
parent
aa36353480
commit
7d0ae01e84
|
@ -2294,7 +2294,7 @@ raop_metadata_rtptimes_get(uint32_t *start, uint32_t *display, uint32_t *pos, ui
|
|||
*pos = MAX(rtp_session->pos, *start); // TODO is this calculation correct? It is not in line with the description above
|
||||
*end = *start + sample_rate * metadata->len_ms / 1000;
|
||||
|
||||
DPRINTF(E_DBG, L_RAOP, "Metadata sr=%lu, pos_ms=%u, len_ms=%u, start=%u, display=%u, pos=%u, end=%u, rtptime=%u\n",
|
||||
DPRINTF(E_DBG, L_RAOP, "Metadata sr=%" PRIu64 ", pos_ms=%u, len_ms=%u, start=%u, display=%u, pos=%u, end=%u, rtptime=%u\n",
|
||||
sample_rate, metadata->pos_ms, metadata->len_ms, *start, *display, *pos, *end, rtp_session->pos);
|
||||
}
|
||||
|
||||
|
|
|
@ -113,8 +113,8 @@ rtp_session_free(struct rtp_session *session)
|
|||
for (i = 0; i < session->pktbuf_size; i++)
|
||||
free(session->pktbuf[i].data);
|
||||
|
||||
free(session->pktbuf);
|
||||
free(session->sync_packet_next.data);
|
||||
|
||||
free(session);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue