From: Sergio Villar Senin Date: Thu, 30 Oct 2008 10:38:49 +0000 (+0000) Subject: * Fixes NB#91161, fixed an invalid g_free X-Git-Tag: git_migration_finished~1078 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=43146a5b6e3b25f94d8650f77b71eb046a611724 * Fixes NB#91161, fixed an invalid g_free pmo-trunk-r6190 --- diff --git a/src/modest-account-mgr.c b/src/modest-account-mgr.c index 93d7b20..7b821f5 100644 --- a/src/modest-account-mgr.c +++ b/src/modest-account-mgr.c @@ -1529,8 +1529,8 @@ modest_account_mgr_notify_account_update (ModestAccountMgr* self, proto_name = modest_account_mgr_get_string (self, server_account_name, MODEST_ACCOUNT_PROTO, TRUE); if (!proto_name) { - g_free (proto_name); g_return_if_reached (); + return; } proto = modest_protocol_get_type_id (modest_protocol_registry_get_protocol_by_name (protocol_registry, MODEST_PROTOCOL_REGISTRY_TRANSPORT_STORE_PROTOCOLS,