comparison src/protocols/zephyr/zephyr.c @ 8954:c60f82d78dea

[gaim-migrate @ 9727] " There are 3 GError's that are not being g_error_free()'d This patch free's them. " --Stu Tomlinson committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 16 May 2004 17:46:27 +0000
parents 80b4c956d7ae
children 294ae6548d4e
comparison
equal deleted inserted replaced
8953:0277908e367d 8954:c60f82d78dea
195 } else { 195 } else {
196 utf8 = g_convert(string, len, "UTF-8", gaim_account_get_string(zgc->account, "encoding", ZEPHYR_FALLBACK_CHARSET), NULL, NULL, &err); 196 utf8 = g_convert(string, len, "UTF-8", gaim_account_get_string(zgc->account, "encoding", ZEPHYR_FALLBACK_CHARSET), NULL, NULL, &err);
197 if (err) { 197 if (err) {
198 gaim_debug(GAIM_DEBUG_ERROR, "zephyr", "recv conversion error: %s\n", err->message); 198 gaim_debug(GAIM_DEBUG_ERROR, "zephyr", "recv conversion error: %s\n", err->message);
199 utf8 = g_strdup(_("(There was an error converting this message. Check the 'Encoding' option in the Account Editor)")); 199 utf8 = g_strdup(_("(There was an error converting this message. Check the 'Encoding' option in the Account Editor)"));
200 g_error_free(err);
200 } 201 }
201 202
202 return utf8; 203 return utf8;
203 } 204 }
204 } 205 }