Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[cascardo/linux.git] / fs / afs / rxrpc.c
index 67cf810..654d8fd 100644 (file)
@@ -100,6 +100,7 @@ int afs_open_socket(void)
        ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx));
        if (ret < 0) {
                sock_release(socket);
+               destroy_workqueue(afs_async_calls);
                _leave(" = %d [bind]", ret);
                return ret;
        }