diff --git a/AUTHORS b/AUTHORS index e42f9c402b..3fefd64ad7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -233,6 +233,7 @@ Patches have also been contributed by: MATSUDA Daiki Jan Kiszka Ryan Woodsmall + Radu Caragea [....send patches to get your name here....] diff --git a/src/rpc/virnetclientstream.c b/src/rpc/virnetclientstream.c index be06c66b48..de61a62f34 100644 --- a/src/rpc/virnetclientstream.c +++ b/src/rpc/virnetclientstream.c @@ -508,7 +508,7 @@ int virNetClientStreamEventRemoveCallback(virNetClientStreamPtr st) { int ret = -1; - virMutexUnlock(&st->lock); + virMutexLock(&st->lock); if (!st->cb) { virNetError(VIR_ERR_INTERNAL_ERROR, "%s", _("no stream callback registered"));