jteeuwen/magic — pull request #1 by pwaller (2012-09-26 16:23:39+00:00)
Title: Fixes

I've made some fixes:

1. Allow the use of the system magic definition files by passing "" to `magic.Load()`
2. Fix heap corruption by incorrectly calling `C.free`
3. Enable `magic_close()`

I also introduced a test which triggers the issues.