[PATCH v3 1/1] explorer: Fix memory leaks.