fix memory leak of pKeys at xf_rail_invalidate_region()

This commit is contained in:
weizhenwei 2017-06-13 16:49:51 +08:00
parent 64fce8717f
commit c39aecbdb4

View File

@ -226,6 +226,7 @@ void xf_rail_invalidate_region(xfContext* xfc, REGION16* invalidRegion)
}
}
free(pKeys);
region16_uninit(&windowInvalidRegion);
}