Fixed mtio memory leak.
authorFredrik Tolf <fredrik@dolda2000.com>
Sat, 4 Sep 2010 23:03:20 +0000 (01:03 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sat, 4 Sep 2010 23:03:20 +0000 (01:03 +0200)
lib/mtio.c

index 1727d43..4211996 100644 (file)
@@ -66,6 +66,7 @@ int block(int fd, int ev, time_t to)
        bl->p->n = bl->n;
     if(bl == blockers)
        blockers = bl->n;
+    free(bl);
     return(rv);
 }