alsasrc: set alsasrc->handle back to NULL when closing device
authorBalachandran C <balachandran_c@rediffmail.com>
Mon, 27 Jul 2009 09:29:27 +0000 (10:29 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 27 Jul 2009 13:18:27 +0000 (14:18 +0100)
commit01e0fdd86c65123130147f64be33606bf2cca26b
tree27b3ec89ed8e341a419489f6188a760fc98c18a1
parent789f5b04888a4a6ba4802335dbb305f4b43b9cda
alsasrc: set alsasrc->handle back to NULL when closing device

Fixes crashes in gst_alsa_find_device_name() when probing or
reading the device-name property (e.g. when doing a dot-file
dump). Fixes #589797.
ext/alsa/gstalsasrc.c