This commit is contained in:
bruce%cybersight.com 1999-05-27 05:12:12 +00:00
Родитель 1bc29c3671
Коммит 34547c75a3
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -37,6 +37,7 @@
#include "nsIRegistry.h"
#include "nsIEnumerator.h"
#include "nsICmdLineService.h"
#include "nsCRT.h"
#ifdef NS_DEBUG
#include "prprf.h"
#endif
@ -293,6 +294,7 @@ nsAppShellService::EnumerateComponents( void (nsAppShellService::*function)( con
// Unable to get subkey name, ignore it.
}
// Release the node.
nsCRT::free(name);
NS_RELEASE( node );
} else {
// Unable to convert item to registry node, ignore it.