syslet: can't free the stack
authorJens Axboe <jens.axboe@oracle.com>
Tue, 11 Dec 2007 11:36:41 +0000 (12:36 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 11 Dec 2007 11:36:41 +0000 (12:36 +0100)
Need to check up on this...

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/syslet-rw.c

index 8f2c415d56a4a8aa6d61d2d25e2a279d436b88a3..b3102ec3b78a035a16b5250e98236630d9614e2b 100644 (file)
@@ -220,7 +220,6 @@ static void fio_syslet_cleanup(struct thread_data *td)
        if (sd) {
                free(sd->events);
                free(sd->ring);
        if (sd) {
                free(sd->events);
                free(sd->ring);
-               free(sd->stack);
                free(sd);
                td->io_ops->data = NULL;
        }
                free(sd);
                td->io_ops->data = NULL;
        }