Mercurial > pidgin
changeset 22078:1879516dae08
Remove a useless NULL check before a g_free().
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 14 Jan 2008 03:40:20 +0000 |
parents | 97c40983e5f7 |
children | 7ec5b5724a05 |
files | libpurple/protocols/novell/nmfield.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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: