commit | 8c6f3141e2ae30938af6c2d13a1a1d478907498e | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Thu Aug 08 22:07:31 2019 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Tue Aug 20 03:25:11 2019 +0200 |
tree | 967829de0e7dd97fadd50da61b445f0a5ae9cba1 | |
parent | 12220eea9ce50f75db05a301dbb08dba9bc0619e [diff] |
fix memleak: actually free strings in mgcp_codec_reset_all() The audio_name and subtype_name are allocated from talloc, so they need to be freed before resetting the codec array. Use mgcp_codec_free() to ensure this. Change-Id: I07f207dcb7ce66bbf3445a30af41e696677b384f