comparison src/cdaudio/cdaudio.c @ 1130:d677e4fdc3fd trunk

[svn] - fix crash on plugin shutdown
author nenolod
date Sat, 26 May 2007 21:15:27 -0700
parents 50505f91e6c7
children
comparison
equal deleted inserted replaced
1129:cb1502e462f9 1130:d677e4fdc3fd
761 static void 761 static void
762 cleanup(void) 762 cleanup(void)
763 { 763 {
764 GList *node; 764 GList *node;
765 struct driveinfo *drive; 765 struct driveinfo *drive;
766
767 g_free(cdda_ip.description);
768 cdda_ip.description = NULL;
769 766
770 if (cdda_cfg.drives) { 767 if (cdda_cfg.drives) {
771 for (node = g_list_first(cdda_cfg.drives); node; node = node->next) { 768 for (node = g_list_first(cdda_cfg.drives); node; node = node->next) {
772 drive = (struct driveinfo *)node->data; 769 drive = (struct driveinfo *)node->data;
773 if (!drive) 770 if (!drive)