Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,

2007-03-09  Matthias Clasen <mclasen@redhat.com>

        * Everywhere: Remove unnecessary NULL checks before
        g_free().  (#369666, Morten Welinder, Djihed Afifi)

        * configure.in: Check for ftw.h



svn path=/trunk/; revision=17444
This commit is contained in:
Matthias Clasen 2007-03-09 21:57:37 +00:00 • committed by Matthias Clasen
commit 82ce59cd0f
59 changed files with 126 additions and 232 deletions

View file

@ -1159,8 +1159,7 @@ preedit_draw_callback (XIC xic,
context->preedit_length += diff;
if (new_text)
g_free (new_text);
g_free (new_text);
if (!context->finalizing)
g_signal_emit_by_name (context, "preedit_changed");