diff options
Diffstat (limited to 'mixlib/mix_device.c')
-rw-r--r-- | mixlib/mix_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mixlib/mix_device.c b/mixlib/mix_device.c index 6870427..2f3f702 100644 --- a/mixlib/mix_device.c +++ b/mixlib/mix_device.c @@ -65,8 +65,7 @@ mix_device_delete (mix_device_t *dev) { if (dev != NULL) { - if (dev->type != mix_dev_CONSOLE && GET_FILE_(dev) != NULL) - mix_file_delete (GET_FILE_(dev)); + (dev->vtable->destroy) (dev); g_free (dev); } } |