]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove a useless ast_mutex_unlock.
authorJason Parker <jparker@digium.com>
Thu, 26 Oct 2006 17:08:40 +0000 (17:08 +0000)
committerJason Parker <jparker@digium.com>
Thu, 26 Oct 2006 17:08:40 +0000 (17:08 +0000)
Issue #8186, patch by anthonyl (fix suggested by benh).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46332 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 8291f8b7b60e80c2e441ba1a29bf194a39025b32..5f875104ffd20c926dd12e96911f86cf5d48ecfe 100644 (file)
@@ -2872,7 +2872,6 @@ static int get_input(struct skinnysession *s)
                }
                *(int *)s->inbuf = htolel(dlen);
                res = read(s->fd, s->inbuf+4, dlen+4);
-               ast_mutex_unlock(&s->lock);
                if (res != (dlen+4)) {
                        ast_log(LOG_WARNING, "Skinny Client sent less data than expected.\n");
                        return -1;