Skip to content

Commit

Permalink
Merge pull request #1438 from DrDaveD/joinpath-strdup-free
Browse files Browse the repository at this point in the history
free strdupped temporary variable in joinpath
  • Loading branch information
tri-adam authored Apr 4, 2018
2 parents 294c20d + 4c386b8 commit 21ec06b
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 21ec06b

Please sign in to comment.