Update of /cvsroot/alsa/alsa-kernel/core/ioctl32
In directory usw-pr-cvs1:/tmp/cvs-serv13620

Modified Files:
        ioctl32.c ioctl32.h pcm32.c 
Log Message:
Replaced free() with kfree()

Index: ioctl32.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/ioctl32/ioctl32.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ioctl32.c   12 Oct 2002 13:08:50 -0000      1.11
+++ ioctl32.c   12 Oct 2002 14:18:09 -0000      1.12
@@ -359,9 +359,9 @@
                err = -EFAULT;
       __end:
        if (data32)
-               free(data32);
+               kfree(data32);
        if (data)
-               free(data);
+               kfree(data);
        return err;
 }
 

Index: ioctl32.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/ioctl32/ioctl32.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ioctl32.h   12 Oct 2002 13:08:50 -0000      1.8
+++ ioctl32.h   12 Oct 2002 14:18:09 -0000      1.9
@@ -111,9 +111,9 @@
        }\
       __end:\
        if (data)\
-               free(data);\
+               kfree(data);\
        if (data32)\
-               free(data32);\
+               kfree(data32);\
        return err;\
 }
 

Index: pcm32.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/ioctl32/pcm32.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pcm32.c     12 Oct 2002 13:08:50 -0000      1.8
+++ pcm32.c     12 Oct 2002 14:18:09 -0000      1.9
@@ -285,7 +285,7 @@
                if (put_user(err, &srcptr->result))
                        err = -EFAULT;
        }
-       free(bufs);
+       kfree(bufs);
        return 0;
 }
 
@@ -375,9 +375,9 @@
                err = -EFAULT;
       __end:
        if (data)
-               free(data);
+               kfree(data);
        if (data32)
-               free(data32);
+               kfree(data32);
        return err;
 }
 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to