Update of /cvsroot/alsa/alsa-kernel/sparc
In directory sc8-pr-cvs1:/tmp/cvs-serv16068/sparc
Modified Files:
amd7930.c cs4231.c
Log Message:
fixed the wrong order of object destruction:
a released object is referred after the *_free() call.
Index: amd7930.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/sparc/amd7930.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- amd7930.c 8 May 2003 08:32:35 -0000 1.6
+++ amd7930.c 14 Aug 2003 11:05:39 -0000 1.7
@@ -992,10 +992,10 @@
if (request_irq(irq_prop->pri, snd_amd7930_interrupt,
SA_INTERRUPT | SA_SHIRQ, "amd7930", amd)) {
- snd_amd7930_free(amd);
snd_printk("amd7930-%d: Unable to grab IRQ %s\n",
dev,
__irq_itoa(irq_prop->pri));
+ snd_amd7930_free(amd);
return -EBUSY;
}
amd->irq = irq_prop->pri;
Index: cs4231.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/sparc/cs4231.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- cs4231.c 6 Jun 2003 11:54:28 -0000 1.8
+++ cs4231.c 14 Aug 2003 11:05:39 -0000 1.9
@@ -1994,10 +1994,10 @@
if (request_irq(sdev->irqs[0], snd_cs4231_sbus_interrupt,
SA_SHIRQ, "cs4231", chip)) {
- snd_cs4231_sbus_free(chip);
snd_printk("cs4231-%d: Unable to grab SBUS IRQ %s\n",
dev,
__irq_itoa(sdev->irqs[0]));
+ snd_cs4231_sbus_free(chip);
return -EBUSY;
}
chip->irq[0] = sdev->irqs[0];
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog