X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=libraries%2Fliblutil%2Fsasl.c;h=50b5a29ddcfeae2b07c69e601e13cf1648702d5a;hb=10595e7e5877b224077ae388913f96dbf26e9138;hp=f22ffa5c6ea7d7a5bf67a80e2f8f4289359b9eb0;hpb=dc0eacd40b625258355eea866d62188e5aa7ce3b;p=openldap diff --git a/libraries/liblutil/sasl.c b/libraries/liblutil/sasl.c index f22ffa5c6e..50b5a29ddc 100644 --- a/libraries/liblutil/sasl.c +++ b/libraries/liblutil/sasl.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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);