Skip to content

Commit

Permalink
free strdupped temporary variable in joinpath
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDaveD committed Apr 3, 2018
1 parent b77d78a commit 4c386b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ char *joinpath(const char * path1, const char * path2_in) {
ABORT(255);
}

free(tmp_path1);

return(ret);
}

Expand Down

0 comments on commit 4c386b8

Please sign in to comment.