diff options
author | irungentoo <irungentoo@gmail.com> | 2015-02-06 15:16:07 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2015-02-06 15:16:07 -0500 |
commit | 01b4ad7a8a6e872d6f43e3922742d34511f60135 (patch) | |
tree | 30a8566340591f3487b7363c20fa6c8a9f5afcc5 /toxav/codec.c | |
parent | 7e7b7f6c339d553d59dc648df667df8475ab7606 (diff) |
Fixed memory leak.
Diffstat (limited to 'toxav/codec.c')
-rw-r--r-- | toxav/codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxav/codec.c b/toxav/codec.c index e7b952b1..de802526 100644 --- a/toxav/codec.c +++ b/toxav/codec.c | |||
@@ -587,6 +587,7 @@ void cs_kill(CSSession *cs) | |||
587 | jbuf_free(cs->j_buf); | 587 | jbuf_free(cs->j_buf); |
588 | buffer_free(cs->vbuf_raw); | 588 | buffer_free(cs->vbuf_raw); |
589 | free(cs->frame_buf); | 589 | free(cs->frame_buf); |
590 | free(cs->split_video_frame); | ||
590 | 591 | ||
591 | LOGGER_DEBUG("Terminated codec state: %p", cs); | 592 | LOGGER_DEBUG("Terminated codec state: %p", cs); |
592 | free(cs); | 593 | free(cs); |