]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/sasl.c
Fix typo in dec to bin conversion
[openldap] / libraries / liblutil / sasl.c
index f22ffa5c6ea7d7a5bf67a80e2f8f4289359b9eb0..50b5a29ddcfeae2b07c69e601e13cf1648702d5a 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2007 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -49,6 +49,8 @@ lutil_sasl_freedefs(
        void *defaults )
 {
        lutilSASLdefaults *defs = defaults;
+
+       assert( defs != NULL );
        
        if (defs->mech) ber_memfree(defs->mech);
        if (defs->realm) ber_memfree(defs->realm);