Subject: leaking iconv handles, wv return type
From: Mike Nordell (firstname.lastname@example.org)
Date: Tue Nov 14 2000 - 11:16:11 CST
XAP_EncodingManager never closes its opened iconv handles.
I _think_ it's d'tor should set the "instance" variable to zero and then
call some code like:
A quick look at the code suggested these changes would be safe, there might
be issues I'm not aware of.
Also, looking at wvLIDToCodePageConverter() (wv/text.c): isn't it a bit
dangerous to return a non-const char* to those static strings? Without
knowing the implementation one could easily try to free() the returned
string (thinking it might be strdup'd).
/Mike - please don't cc
This archive was generated by hypermail 2b25 : Tue Nov 14 2000 - 11:57:59 CST