Hi all,
I hope this doesn't fall on deaf ears. There's a memory leak in both of these extended procedures. In proc.cpp, you allocate new params structures but don't delete them.
in proc.cpp in the xp_levenshtein dll you need to add the lines
delete P1;
delete P2;
delete P3;
before the line
return sqlerr;
and in proc.cpp in the xp_nysiis project likewise, you need to add the lines
delete P1;
delete P2;
before the same line;
return sqlerr;
Hope that helps someone, as the provided dlls helped bring down one of our production sql servers!
All the best,
Leon