diff options
-rwxr-xr-x | zaptel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -702,7 +702,7 @@ static int zt_reallocbufs(struct zt_chan *ss, int j, int numbufs) spin_lock_irqsave(&ss->lock, flags); ss->blocksize = j; /* set the blocksize */ oldbuf = ss->readbuf[0]; /* Keep track of the old buffer */ - + ss->readbuf[0] = NULL; if (newbuf) { for (x=0;x<numbufs;x++) { ss->readbuf[x] = newbuf + x * j; |