Commit d52031a
authored
[NTOS:MM] MmPurgeSegment: Fix missing MmDereferenceSegment cleanup (reactos#7509)
MiGrabDataSection adds a refcount. There is a missing MmDereferenceSegment cleanup in case of range check error.
Fix that by moving MiGrabDataSection calling code to after range check.1 parent 2e3a080 commit d52031a
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4838 | 4838 | | |
4839 | 4839 | | |
4840 | 4840 | | |
4841 | | - | |
4842 | | - | |
4843 | | - | |
4844 | | - | |
4845 | | - | |
4846 | | - | |
4847 | | - | |
4848 | 4841 | | |
4849 | 4842 | | |
4850 | 4843 | | |
4851 | 4844 | | |
4852 | 4845 | | |
4853 | 4846 | | |
4854 | 4847 | | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
4855 | 4855 | | |
4856 | 4856 | | |
4857 | 4857 | | |
| |||
0 commit comments