plug memory leak of li->li_nextid_file

This commit is contained in:
Hallvard Furuseth 1999-04-04 21:53:39 +00:00
parent db859cee36
commit 2915ed56db

View File

@ -39,6 +39,8 @@ ldbm_back_db_config(
free( li->li_directory );
li->li_directory = ch_strdup( argv[1] );
if ( li->li_nextid_file )
free( li->li_nextid_file );
li->li_nextid_file =
ch_malloc( strlen(li->li_directory) + sizeof("/NEXTID") + 1 );