Skip to content

Commit

Permalink
Fixed segfault in destructor of dl_loader class
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Oct 9, 2017
1 parent 0be5e49 commit bbb1e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/dl_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using namespace std;
DL_loader::DL_loader(string lib):
lib_name(lib){ }
DL_loader::~DL_loader() {
if(!lib)
if(lib)
close();
}
// }}}
Expand Down

0 comments on commit bbb1e0b

Please sign in to comment.