]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/sasl.c
add pguid overlay (not considered right now)
[openldap] / libraries / liblutil / sasl.c
index 277d0bd0d10891f97a5bbd1abe3c5ad7ccbfde40..d03e88be694308fd57045715e6b4302b484fc306 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2004 The OpenLDAP Foundation.
+ * Copyright 1998-2010 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);