X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fcharray.c;h=b40e232f62c6afef4458d1777f4f706adbf83022;hb=4a2b9b21951cb9966f98cd49064e856f6ff7e6a4;hp=41432d21b4d21dffd10025406c15951b512bfbd4;hpb=e1b73eda9373ea3bddd532727a2987363dc3c108;p=openldap diff --git a/libraries/libldap/charray.c b/libraries/libldap/charray.c index 41432d21b4..b40e232f62 100644 --- a/libraries/libldap/charray.c +++ b/libraries/libldap/charray.c @@ -1,6 +1,6 @@ /* $OpenLDAP$ */ /* - * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. + * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* charray.c - routines for dealing with char * arrays */ @@ -77,8 +77,9 @@ ldap_charray_merge( aa = (char **) LDAP_REALLOC( (char *) *a, (n + nn + 1) * sizeof(char *) ); - if( aa == NULL ) + if( aa == NULL ) { return -1; + } *a = aa;