Bug 490275 - Memory leak in xpcom/glue/standalone/nsGlueLinkingWin.cpp; r=benjamin

This commit is contained in:
Hiroyuki Ikezoe 2009-05-14 16:17:53 +02:00
parent 3bbbc13d70
commit 21cff4e6ad

View File

@ -188,6 +188,7 @@ XPCOMGlueLoad(const char *aXpcomFile)
NULL
);
wprintf(L"Error loading %s: %s\n", xpcomDir, lpMsgBuf);
LocalFree(lpMsgBuf);
}
#endif //DEBUG
}
@ -211,6 +212,7 @@ XPCOMGlueLoad(const char *aXpcomFile)
NULL
);
wprintf(L"Error loading %s: %s\n", xpcomFile, lpMsgBuf);
LocalFree(lpMsgBuf);
#endif
return nsnull;
}