Mon, 14 Jan 2008 03:40:20 +0000
Remove a useless NULL check before a g_free().
| libpurple/protocols/novell/nmfield.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/novell/nmfield.c Mon Jan 14 03:33:21 2008 +0000 +++ b/libpurple/protocols/novell/nmfield.c Mon Jan 14 03:40:20 2008 +0000 @@ -164,9 +164,7 @@ case NMFIELD_TYPE_BINARY: case NMFIELD_TYPE_UTF8: case NMFIELD_TYPE_DN: - if (field->ptr_value != NULL) { - g_free(field->ptr_value); - } + g_free(field->ptr_value); break; case NMFIELD_TYPE_ARRAY: