2011-01-06 [colin] 3.7.8cvs30
[claws.git] / src / gtk / gtkaspell.c
index 1a2b2081455ca4ec59fbfda81be197f06bfb3673..69b4a6519ca62b8b3104693d5e0dd44a36b34ee0 100644 (file)
@@ -390,6 +390,7 @@ GtkAspell *gtkaspell_new(const gchar *dictionary,
                if (!alt_gtkaspeller) {
                        gtkaspell_checkers_error_message(
                                g_strdup_printf(_("Couldn't initialize %s speller."), dictionary));
+                       gtkaspeller_delete(gtkaspeller);
                        g_free(gtkaspell);
                        return NULL;
                }