coreaudio-device: fix improper memory handling leading to crashes.
authorMihai Moldovan <ionic@ionic.de>
Sat, 25 Feb 2017 09:38:24 +0000 (10:38 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 27 Feb 2017 14:45:51 +0000 (16:45 +0200)
commitc7d8085acb8c74d78ae9ebfcd0c4eaba8e2e113c
treeb5c610a0396a7eb29ae75d1c2c17af655c9854f1
parentb282f3bb9668bc859e880f615c78a1fe305fc035
coreaudio-device: fix improper memory handling leading to crashes.

Make sure that we NULL pointers after freeing them. Otherwise bad things
happen.
src/modules/macosx/module-coreaudio-device.c