Skip to content
Snippets Groups Projects
Commit 2915ed56 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

plug memory leak of li->li_nextid_file

parent db859cee
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment