commit | ce64f185875b902abe02892b76af7bc3d4d7df3b | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Thu Aug 08 22:07:31 2019 +0200 |
committer | neels <nhofmeyr@sysmocom.de> | Tue Aug 27 21:53:17 2019 +0000 |
tree | bd21a4167d0a2915eecea62a4eab63abdedcd1df | |
parent | 667fa59b0c233f9f874cf2a04c32879b558708b7 [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