diff options
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2042,8 +2042,10 @@ loop(void) } unlinkat(gslots[CONF].fd[OUT], inv->fifoname, 0); close(inv->fd); + TAILQ_REMOVE(&invhead, inv, entry); free(inv->fifoname); free(inv->cookie); + free(inv); } for (f = TAILQ_FIRST(&friendhead); f; f = ftmp) { |