PIM-3288: fix memory leak on product import
Merge pull request #1751 from akeneo/PIM-3288-stable

PIM-3288: fix memory leak on product import