MFC r269859:
Fix for memory leak.

Sponsored by:	Mellanox Technologies