Commit 6ed7123d authored by Nicolas Trangez's avatar Nicolas Trangez Committed by Austin Seipp
Browse files

Check correct variable for NULL

Issue discovered by Coverity scan, CID 43163. This should fix CID 43172 as a
side-effect as well.

Signed-off-by: default avatarAustin Seipp <>
parent fa0cbd29
......@@ -151,7 +151,7 @@ readTix(void) {
lookup = lookupHashTable(moduleHash, (StgWord)tmpModule->modName);
if (tmpModule == NULL) {
if (lookup == NULL) {
debugTrace(DEBUG_hpc,"readTix: new HpcModuleInfo for %s",
insertHashTable(moduleHash, (StgWord)tmpModule->modName, tmpModule);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment