Coverity 1038129 fix

Don't leak memory on malloc error in b2gm mpm implementation.