Fix crash in Process.GetModules_internal() on Windows after refactorings
commit93040e9d7d7beef3234257fc5e9fc6464422af1e
authorNiklas Therning <niklas@therning.org>
Mon, 7 Nov 2016 11:01:43 +0000 (7 12:01 +0100)
committerNiklas Therning <niklas@therning.org>
Mon, 7 Nov 2016 11:01:43 +0000 (7 12:01 +0100)
treed0b870c744bdb9376cc773adcbd142520ae41e8b
parentb6588622bcf426ff340d91f0d94821d2b17570bb
Fix crash in Process.GetModules_internal() on Windows after refactorings

EnumProcessModules() is called incorrectly. Also fixes a missing curly braces
pair.
mono/metadata/w32process.c