linux-free-dont-drop-alloc-sem-20040714
[openafs.git] / src / afs / LINUX / osi_alloc.c
index 8a8bc7a..e80af0b 100644 (file)
@@ -335,9 +335,7 @@ osi_linux_alloc(unsigned int asize, int drop_glock)
 
   free_error:
     if (new) {
-       up(&afs_linux_alloc_sem);
        linux_free(new);
-       down(&afs_linux_alloc_sem);
     }
     new = NULL;
     goto error;