[PATCH] blkparse: missing free of ppis
authorJens Axboe <axboe@suse.de>
Wed, 21 Sep 2005 09:57:25 +0000 (11:57 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 21 Sep 2005 09:57:25 +0000 (11:57 +0200)
Doesn't really matter since we exit after this, but...

blkparse.c

index 482afa56a324ff40b068cea8edf4d5f97c675ca3..087c7993e07a0fe0b9d244ec8e9730bcc4d230c2 100644 (file)
@@ -1228,6 +1228,8 @@ static void sort_process_list(void)
                ppi_list = ppi;
                i--;
        }
+
+       free(ppis);
 }
 
 static void show_process_stats(void)