Skip to content

Commit

Permalink
rpc_client: fix memory leak in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgee-jump committed Dec 11, 2023
1 parent a9e80bf commit c248339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/fddev/rpc_client/test_rpc_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ fd_rpc_serve_one( void * args ) {
FD_LOG_WARNING(( "%s", method ));
FD_TEST( 0 );
}
cJSON_Delete( json );
FD_TEST( printed>=0 && (ulong)printed<sizeof(response_content) );

char response[ 1024 ];
Expand Down

0 comments on commit c248339

Please sign in to comment.