Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b860f9e in mainline


Ignore:
Timestamp:
2012-01-31T22:45:07Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
7b5789e
Parents:
03cdd2b
Message:

Do not leak frame, page0 and page1 in mapping1 test.
The test shall no longer be considered unsafe.

Location:
kernel/test/mm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/mapping1.c

    r03cdd2b rb860f9e  
    8181        }
    8282
    83         // FIXME: do not leak frame, page0 and page1
     83        km_unmap(page0, PAGE_SIZE);
     84        km_unmap(page1, PAGE_SIZE);
     85        frame_free(frame);
    8486       
    8587        return NULL;
  • kernel/test/mm/mapping1.def

    r03cdd2b rb860f9e  
    33        "Mapping test",
    44        &test_mapping1,
    5         false
     5        true   
    66},
Note: See TracChangeset for help on using the changeset viewer.