Skip to content
Snippets Groups Projects
Commit 42dadd57 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

typo

parent d5238b91
Branches
Tags
No related merge requests found
......@@ -117,7 +117,7 @@ slap_tool_init(
int truncatemode = 0;
#ifdef CSRIMALLOC
leakfilename = malloc( strlen( progname ) + STRLEOF( ".leak" ) - 1 );
leakfilename = malloc( strlen( progname ) + STRLENOF( ".leak" ) + 1 );
sprintf( leakfilename, "%s.leak", progname );
if( ( leakfile = fopen( leakfilename, "w" )) == NULL ) {
leakfile = stderr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment