--- libraries/liblber/decode.c 2001/11/03 21:07:41 1.62 +++ libraries/liblber/decode.c 2001/11/04 16:50:16 1.63 @@ -1,5 +1,5 @@ /* decode.c - ber input decoding routines */ -/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.61 2001/07/21 21:13:05 kurt Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/liblber/decode.c,v 1.62 2001/11/03 21:07:41 kurt Exp $ */ /* * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file @@ -596,7 +596,7 @@ ber_scanf ( BerElement *ber, (j + 2) * sizeof(char *) ); if( *sss == NULL ) { - LBER_MEMFREE( save ); + LBER_FREE( save ); rc = LBER_DEFAULT; goto breakout; } @@ -622,7 +622,7 @@ ber_scanf ( BerElement *ber, (j + 2) * sizeof(struct berval *) ); if( *bv == NULL ) { - LBER_MEMFREE( save ); + LBER_FREE( save ); rc = LBER_DEFAULT; goto breakout; }