]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis: Fix leaks
authorCorey Farrell <git@cfware.com>
Thu, 19 Sep 2019 22:32:56 +0000 (18:32 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 19 Sep 2019 22:36:40 +0000 (17:36 -0500)
commit3dfbc05c534e498e2196a0f6ecd8c64a9da1115d
tree4597d9e788ffae9ced176e828af469a016092002
parente79a3b428adecec7bb1222d7f22664493cc3e498
stasis: Fix leaks

* Release reference returned by cache_remove
* state_alloc unconditionally bumped state_topic even when it was
  locally allocated.

Change-Id: I51101bf7d07b8dc8ce8fc46b6cb31fbbd213fbc7
main/stasis_cache.c
main/stasis_state.c