Skip to content

Commit

Permalink
Freed result of stumpless_param_to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandromurtas-vs committed Dec 3, 2023
1 parent 4409b97 commit 96e162f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/performance/param.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ static void ParamToString(benchmark::State& state){
if( !result ) {
state.SkipWithError( "could not convert the param to string" );
}
else {
param_to_string_memory_counter_free( ( void * ) result );
}
}

stumpless_destroy_param( param );
Expand Down

0 comments on commit 96e162f

Please sign in to comment.