summaryrefslogtreecommitdiff
path: root/sys/shm
diff options
context:
space:
mode:
authorAleix Conchillo Flaque <aleix@oblong.com>2012-07-04 11:38:51 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-07-05 10:55:26 -0700
commit7b6029ebe147b8d96c64e0ab513b44018508eb1f (patch)
treebfc6da74e950a622ea944c76e53c68ce9a88f47d /sys/shm
parent9c7d7498bb2991d149fb8d936fc7e6ce1e881fd5 (diff)
downloadgstreamer-plugins-bad-7b6029ebe147b8d96c64e0ab513b44018508eb1f.tar.gz
shmsrc: memory corruption when a client disconnects (fixes #679385)
Diffstat (limited to 'sys/shm')
-rw-r--r--sys/shm/shmpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/shm/shmpipe.c b/sys/shm/shmpipe.c
index bde4c4e70..c692417e1 100644
--- a/sys/shm/shmpipe.c
+++ b/sys/shm/shmpipe.c
@@ -867,8 +867,8 @@ again:
goto again;
break;
}
- prev_buf = buffer;
}
+ prev_buf = buffer;
}
for (item = self->clients; item; item = item->next) {