Changeset 129 for trunk/src/helpers/wphandle.c
- Timestamp:
- Jan 8, 2002, 7:29:57 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/wphandle.c
r127 r129 375 375 376 376 if (!arc) 377 if (treeInsert(ppTree, 378 pcChildren, 379 (TREE*)pNew, 380 treeCompareStrings)) 381 ; // @@todo if this fails, there are 377 if (!treeInsert(ppTree, 378 pcChildren, 379 (TREE*)pNew, 380 treeCompareStrings)) 381 // store PNODE in hash table 382 pHandlesBuf->NodeHashTable[pNode->usHandle] = pNew; 383 else 384 ; 385 // @@todo if this fails, there are 382 386 // several handles for short name!!! 383 387 // arc = ERROR_WPH_NODE_TREEINSERT_FAILED; 384 388 385 // store PNODE in hash table 386 pHandlesBuf->NodeHashTable[pNode->usHandle] = pNew; 389 if (arc) 390 free(pNew); 391 387 392 } 388 393 … … 933 938 str.psz, 934 939 str.ulLength + 1); 940 xstrClear(&str); 935 941 } 936 942 }
Note:
See TracChangeset
for help on using the changeset viewer.