diff options
author | Rich Felker <dalias@aerifal.cx> | 2006-10-26 05:19:54 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2006-10-26 05:19:54 +0000 |
commit | d6121c0d1fcf97204558cc43b7896204ea260052 (patch) | |
tree | 01916f9613b2462b738c5f7a9f2736bce4b78a33 /xlib.c | |
parent | fe8f2b98e6a785112be30c8b817ea501a35efc19 (diff) |
10l: multiple-free!
Diffstat (limited to 'xlib.c')
-rw-r--r-- | xlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -230,8 +230,10 @@ void uudisp_next_event(struct uudisp *d, void *fds) Atom type; int fmt; - if (!d->inlen && p->pastebuf) + if (!d->inlen && p->pastebuf) { XFree(p->pastebuf); + p->pastebuf = NULL; + } if (!FD_ISSET(p->fd, (fd_set *)fds)) return; |