 * Fixes NB#92249, fixes a memory leak * Rewritten a function that was wrongly implemented
 * Fixes NB#92249, fixes a memory leak * Rewritten a function that was wrongly implemented

pmo-trunk-r6268

community-ssu/modest,community-ssu/modest,community-ssu/modest,community-ssu/modest