Changed allocation of module_state structure to use malloc.
Changed allocation of module_state structure to use malloc.


Former-commit-id: 29b2d9dc87a39e652eff9d5562900984e82d194b
darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide