Changeset 2176 for libswish3/trunk/src/libswish3/analyzer.c
- Timestamp:
- 09/22/08 22:57:38 (4 months ago)
- Files:
-
- libswish3/trunk/src/libswish3/analyzer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libswish3/trunk/src/libswish3/analyzer.c
r2158 r2176 57 57 58 58 if (SWISH_DEBUG & SWISH_DEBUG_MEMORY) { 59 SWISH_DEBUG_MSG("analyzer ptr 0x%x", ( int)a);59 SWISH_DEBUG_MSG("analyzer ptr 0x%x", (long int)a); 60 60 } 61 61 … … 63 63 } 64 64 65 /* TODO65 /* 66 66 IMPORTANT -- any struct members that require unique free()s should 67 67 do that prior to calling this function. … … 81 81 swish_mem_debug(); 82 82 } 83 84 if (a->stash != NULL) 85 SWISH_WARN("Analyzer->stash not freed 0x%x", (long int)a->stash); 86 87 if (a->regex != NULL) 88 SWISH_WARN("Analyzer->regex not freed 0x%x", (long int)a->regex); 89 90 if (a->stemmer != NULL) 91 SWISH_WARN("Analyzer->stemmer not freed"); 92 93 83 94 swish_xfree(a); 84 95 }
