Fixes leak when using AutoMPI

Change-Id: I1d2faca95a328ba990905ab03eb515824f535133
Merge topic '13878_fix_leaks' into next

8e70963 Fixes leak when using AutoMPI