Fix a potential memory leak.

MFC after:	1 week