Skip to content

Commit

Permalink
flamenco: fix funk leak caused by unfreed partvec
Browse files Browse the repository at this point in the history
  • Loading branch information
mjain-jump committed Jan 9, 2025
1 parent bade3ea commit 50b48f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/funk/fd_funk.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ fd_funk_delete( void * shfunk ) {
}

/* Free all value resources here */
fd_alloc_free( fd_funk_alloc( funk, wksp ), fd_funk_get_partvec( funk, wksp ) );

fd_wksp_free_laddr( fd_alloc_delete ( fd_alloc_leave ( fd_funk_alloc ( funk, wksp ) ) ) );
fd_wksp_free_laddr( fd_funk_rec_map_delete( fd_funk_rec_map_leave( fd_funk_rec_map( funk, wksp ) ) ) );
Expand Down

0 comments on commit 50b48f2

Please sign in to comment.