summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodecaudio.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-12-16 13:14:11 -0800
committerJohn Stebbins <[email protected]>2016-12-17 07:28:51 -0800
commit25f6aad84fbf8925dc830e70302761da0f95ffe8 (patch)
tree5e4c6d4a16fa66e1641088e5a4cf7e63ea33c4a1 /libhb/encavcodecaudio.c
parent0deca32324ae5f1741360796a2c76f5249ca04e4 (diff)
fix memory leaks
The series of commits starting with Tim's "libav: remove our custom QSV wrapper." Closes #46, closes #276, and closes #416.
Diffstat (limited to 'libhb/encavcodecaudio.c')
-rw-r--r--libhb/encavcodecaudio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
index f6779fe31..3a6737fc5 100644
--- a/libhb/encavcodecaudio.c
+++ b/libhb/encavcodecaudio.c
@@ -373,6 +373,7 @@ static void get_packets( hb_work_object_t * w, hb_buffer_list_t * list )
out->s.frametype = HB_FRAME_AUDIO;
hb_buffer_list_append(list, out);
+ av_packet_unref(&pkt);
}
}