audiosink: free the ringbuffer when going to NULL
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 11:18:18 +0000 (13:18 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 11:18:18 +0000 (13:18 +0200)
commit57a13f28de3b062995ff3eeccc12d5277bf562ae
tree8d5af63889e628d8ab6ec72c3a9f711b1a406f2a
parente4492c24ea832a85935e2723de7fc963ac12635b
audiosink: free the ringbuffer when going to NULL

Unparent and free the ringbuffer when going to NULL, like we do with the
audiosrc element. We can do this now because we correctly manage the time
jumping back to 0.
gst-libs/gst/audio/gstbaseaudiosink.c