GSM Audio Pocket Knife
Go to file
Vadim Yanitskiy 9e997267f6 libgsmhr/libgsmhr.c: fix memory leak after gsmhr_exit()
During the HR codec initialization, a part of the state is
allocated, but not freed at exit. Let's fix this.

Found during debugging with Valgrind:

4,932 bytes in 1 blocks are definitely lost in loss record 177 of 179
at 0x4C2AB80: malloc (in vgpreload_memcheck-amd64-linux.so)
by 0x6381C8F: gsmhr_init (libgsmhr.c:63)
by 0x526DF62: osmo_gapk_pq_queue_codec (pq_codec.c:48)
by 0x401ACE: make_processing_chain (app_osmo_gapk.c:573)
by 0x401ACE: main (app_osmo_gapk.c:765)

Change-Id: Ie9ead89c2272782de8d928f29753e6a523cf8834
2018-01-08 23:42:24 +06:00
contrib Add cycle benchmarking support 2014-05-08 19:18:01 +02:00
include Add support for RTP with GSM-HR payload according to RFC5993 2017-05-28 16:18:09 +02:00
libgsmhr libgsmhr/libgsmhr.c: fix memory leak after gsmhr_exit() 2018-01-08 23:42:24 +06:00
m4 Initial skeleton import 2010-10-24 10:22:06 +02:00
src pq_alsa.c: print error message if device init fails 2017-09-02 17:03:06 +02:00
test test/common.sh: fix typo in gapk binary location 2017-08-31 13:06:55 +02:00
.gitignore Update gitignore 2010-11-12 20:47:30 +01:00
.gitreview Add git-review config 2017-12-29 21:48:18 +01:00
Makefile.am build: Use AM_CPPFLAGS in Makefile.am 2013-06-17 08:53:21 +02:00
configure.ac Add ALSA input/output support to GAPK 2017-05-28 01:56:33 +02:00
git-version-gen add git-version-gen to auto-generate version from git repo tags 2015-11-05 21:25:32 +01:00
gpl-3.0.txt Initial skeleton import 2010-10-24 10:22:06 +02:00