diff options
-rw-r--r-- | usr.sbin/ypldap/ber.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/ber.c b/usr.sbin/ypldap/ber.c index a2950dc..540df69 100644 --- a/usr.sbin/ypldap/ber.c +++ b/usr.sbin/ypldap/ber.c @@ -27,7 +27,6 @@ #include <err.h> /* XXX for debug output */ #include <stdio.h> /* XXX for debug output */ #include <string.h> -#include <strings.h> #include <unistd.h> #include <stdarg.h> @@ -1219,8 +1218,7 @@ ber_set_application(struct ber *b, unsigned long (*cb)(struct ber_element *)) void ber_free(struct ber *b) { - if (b->br_wbuf != NULL) - free (b->br_wbuf); + free(b->br_wbuf); } static ssize_t |