Skip to content

Commit

Permalink
Fix mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Mar 30, 2018
1 parent 3c565ee commit 24b5ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arch/Threads/Threads_Pthreads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ namespace
pthread_condattr_destroy( &condattr );

/* Everything seems to work. */
if( pLib != NULL )
dlclose( pLib );
return;
} while(0);

Expand Down

0 comments on commit 24b5ab5

Please sign in to comment.