Bug 203973 txXSLTProcessor::shutdown releases a log module it doesn't own
r=axel sr=peterv git-svn-id: svn://10.0.0.236/trunk@142839 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -60,14 +60,9 @@ public:
|
||||
txLog::xpath = PR_NewLogModule("xpath"); \
|
||||
txLog::xslt = PR_NewLogModule("xslt")
|
||||
|
||||
#define TX_LG_DELETE \
|
||||
PR_FREEIF(txLog::xpath); \
|
||||
PR_FREEIF(txLog::xslt)
|
||||
|
||||
#else
|
||||
|
||||
#define TX_LG_IMPL
|
||||
#define TX_LG_CREATE
|
||||
#define TX_LG_DELETE
|
||||
|
||||
#endif
|
||||
|
||||
@@ -93,8 +93,6 @@ txXSLTProcessor::shutdown()
|
||||
txXSLTAtoms::shutdown();
|
||||
|
||||
txHandlerTable::shutdown();
|
||||
|
||||
TX_LG_DELETE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user